Packagecom.whirled.contrib.platformer.piece
Classpublic class BoundData

Constants for BoundedPiece.



Public Methods
 MethodDefined by
  
blockInner(type:int, projectile:Boolean = false):Boolean
[static]
BoundData
  
blockOuter(type:int, projectile:Boolean = false):Boolean
[static]
BoundData
  
doesBound(type:int, projectile:Boolean = false):Boolean
[static]
BoundData
  
getColor(type:int):int
[static]
BoundData
  
getNormalBound(type:int):int
[static]
BoundData
  
getShotBound(type:int):int
[static]
BoundData
  
swapBounds(type:int):int
[static]
BoundData
Public Constants
 ConstantDefined by
  ACCEL : int = 5
[static]
BoundData
  ALL : int = 1
[static]
BoundData
  COLOR : Array
[static]
BoundData
  INNER : int = 3
[static]
BoundData
  MASK : int = 255
[static]
BoundData
  NONE : int = 0
[static]
BoundData
  OUTER : int = 2
[static]
BoundData
  REPULSE : int = 4
[static]
BoundData
  S_ALL : int
[static]
BoundData
  S_INNER : int
[static]
BoundData
  S_MASK : int
[static]
BoundData
  S_NONE : int
[static]
BoundData
  S_OUTER : int
[static]
BoundData
Method detail
blockInner()method
public static function blockInner(type:int, projectile:Boolean = false):BooleanParameters
type:int
 
projectile:Boolean (default = false)

Returns
Boolean
blockOuter()method 
public static function blockOuter(type:int, projectile:Boolean = false):BooleanParameters
type:int
 
projectile:Boolean (default = false)

Returns
Boolean
doesBound()method 
public static function doesBound(type:int, projectile:Boolean = false):BooleanParameters
type:int
 
projectile:Boolean (default = false)

Returns
Boolean
getColor()method 
public static function getColor(type:int):intParameters
type:int

Returns
int
getNormalBound()method 
public static function getNormalBound(type:int):intParameters
type:int

Returns
int
getShotBound()method 
public static function getShotBound(type:int):intParameters
type:int

Returns
int
swapBounds()method 
public static function swapBounds(type:int):intParameters
type:int

Returns
int
Constant detail
ACCELconstant
public static const ACCEL:int = 5
ALLconstant 
public static const ALL:int = 1
COLORconstant 
public static const COLOR:Array
INNERconstant 
public static const INNER:int = 3
MASKconstant 
public static const MASK:int = 255
NONEconstant 
public static const NONE:int = 0
OUTERconstant 
public static const OUTER:int = 2
REPULSEconstant 
public static const REPULSE:int = 4
S_ALLconstant 
public static const S_ALL:int
S_INNERconstant 
public static const S_INNER:int
S_MASKconstant 
public static const S_MASK:int
S_NONEconstant 
public static const S_NONE:int
S_OUTERconstant 
public static const S_OUTER:int