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