-
Notifications
You must be signed in to change notification settings - Fork 0
DisplayObject
fahimc edited this page Mar 23, 2013
·
4 revisions
This object has the basic functions required to allow it to be manipulated.
#Methods
x(value) = getter and setter
y(value) = getter and setter
width(value) = getter and setter
height(value) = getter and setter
visible(value) = getter and setter
alpha(value) = getter and setter
hitTestObject(obj): Boolean = check if the current object is colliding with another. Provide an object (Must be an extension of DisplayObject). Returns true or false.
hitTestPoint(x,y): Boolean = check if the object collides with a current point. Returns true or false.