Packagekrewfw.core_internal.collision
Classpublic class CollisionShapeSphere
InheritanceCollisionShapeSphere Inheritance CollisionShape Inheritance Object



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

Constructor Detail
CollisionShapeSphere()Constructor
public function CollisionShapeSphere(owner:KrewActor, handler:Function, radius:Number, offsetX:Number = 0, offsetY:Number = 0)



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