Difference between revisions of "AGIWiki/block"

Jump to navigation Jump to search
51 bytes added ,  15:13, 25 October 2018
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
m
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{AGIWiki}}
{{AGIWiki}}
 
{{AGIWiki/Object and View commands}}
The '''block''' command programmatically creates an invisible rectangular block to restrict [[AGIWiki/Animated object|screen object]] movement.
The '''block''' command programmatically creates an invisible rectangular block to restrict [[AGIWiki/Animated object|screen object]] movement.


Line 32: Line 31:


The following code creates a block rectangle whose top-left corner is at (10, 25) and whose bottom-right corner is at (100, 120):
The following code creates a block rectangle whose top-left corner is at (10, 25) and whose bottom-right corner is at (100, 120):
<syntax type = "C++">
<syntaxhighlight lang="cpp">
  block(10, 25, 100, 120);
  block(10, 25, 100, 120);
</syntax>
</syntaxhighlight>


== Technical Information ==
== Technical Information ==
TrustedUser
2,147

edits

Navigation menu