Game Development Reference
In-Depth Information
Figure 15.8
The properties panel and layout for the first level of Marble Runner.
function get height():Number;
function set height(value:Number):void;
function getRect(coordinateSpace:DisplayObject):Rectangle;
function hitTestObject(obj:DisplayObject):Boolean;
function get vx():Number;
function set vx(value:Number):void;
function get vy():Number;
function set vy(value:Number):void;
}
public interface IHazard
{
function get x():Number;
function set x(value:Number):void;
function get y():Number;
function set y(value:Number):void;
function getRect(coordinateSpace:DisplayObject):Rectangle;
function hitTestObject(obj:DisplayObject):Boolean;
}
Search Nedrilad ::




Custom Search