Packagekrewfw.core_internal.collision
Classpublic class CollisionShapeAABB
InheritanceCollisionShapeAABB Inheritance CollisionShape Inheritance Object



Public Properties
 PropertyDefined By
 Inherited_handler : Function
CollisionShape
 Inheritedhandler : Function
[read-only]
CollisionShape
  maxX : Number
[read-only]
CollisionShapeAABB
  maxY : Number
[read-only]
CollisionShapeAABB
  minX : Number
[read-only]
CollisionShapeAABB
  minY : Number
[read-only]
CollisionShapeAABB
 InheritedoffsetX : Number
CollisionShape
 InheritedoffsetY : Number
CollisionShape
 Inherited_owner : KrewActor
CollisionShape
 Inheritedowner : KrewActor
[read-only]
CollisionShape
 Inherited_type : int = 0
CollisionShape
 Inheritedtype : int
[read-only]
CollisionShape
 Inheritedx : Number
[read-only]
CollisionShape
 Inheritedy : Number
[read-only]
CollisionShape
Public Methods
 MethodDefined By
  
CollisionShapeAABB(owner:KrewActor, handler:Function, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0)
CollisionShapeAABB
 Inherited
hitTest(other:CollisionShape):Boolean
CollisionShape
  
update():void
CollisionShapeAABB
Public Constants
 ConstantDefined By
 InheritedSHAPE_AABB : int = 2
[static]
CollisionShape
 InheritedSHAPE_OBB : int = 3
[static]
CollisionShape
 InheritedSHAPE_SPHERE : int = 1
[static]
CollisionShape
Property Detail
maxXproperty
maxX:Number  [read-only]


Implementation
    public function get maxX():Number
maxYproperty 
maxY:Number  [read-only]


Implementation
    public function get maxY():Number
minXproperty 
minX:Number  [read-only]


Implementation
    public function get minX():Number
minYproperty 
minY:Number  [read-only]


Implementation
    public function get minY():Number
Constructor Detail
CollisionShapeAABB()Constructor
public function CollisionShapeAABB(owner:KrewActor, handler:Function, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0)



Parameters
owner:KrewActor
 
handler:Function
 
width:Number
 
height:Number
 
offsetX:Number (default = 0)
 
offsetY:Number (default = 0)
Method Detail
update()method
public function update():void