| Package | krewfw.core_internal.collision |
| Class | public class CollisionShapeAABB |
| Inheritance | CollisionShapeAABB CollisionShape Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | _handler : Function | CollisionShape | |
![]() | handler : Function [read-only] | CollisionShape | |
| maxX : Number [read-only] | CollisionShapeAABB | ||
| maxY : Number [read-only] | CollisionShapeAABB | ||
| minX : Number [read-only] | CollisionShapeAABB | ||
| minY : Number [read-only] | CollisionShapeAABB | ||
![]() | offsetX : Number | CollisionShape | |
![]() | offsetY : Number | CollisionShape | |
![]() | _owner : KrewActor | CollisionShape | |
![]() | owner : KrewActor [read-only] | CollisionShape | |
![]() | _type : int = 0 | CollisionShape | |
![]() | type : int [read-only] | CollisionShape | |
![]() | x : Number [read-only] | CollisionShape | |
![]() | y : Number [read-only] | CollisionShape | |
| Method | Defined By | ||
|---|---|---|---|
CollisionShapeAABB(owner:KrewActor, handler:Function, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0) | CollisionShapeAABB | ||
![]() | hitTest(other:CollisionShape):Boolean | CollisionShape | |
update():void | CollisionShapeAABB | ||
| maxX | property |
maxX:Number [read-only] public function get maxX():Number| maxY | property |
maxY:Number [read-only] public function get maxY():Number| minX | property |
minX:Number [read-only] public function get minX():Number| minY | property |
minY:Number [read-only] public function get minY():Number| CollisionShapeAABB | () | Constructor |
public function CollisionShapeAABB(owner:KrewActor, handler:Function, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0)owner:KrewActor | |
handler:Function | |
width:Number | |
height:Number | |
offsetX:Number (default = 0) | |
offsetY:Number (default = 0) |
| update | () | method |
public function update():void