C# Class Tower, AntsVsMice

Inheritance: MapAdjuster
Mostrar archivo Open project: splashdamage/AntsVsMice Class Usage Examples

Public Properties

Property Type Description
anim tk2dAnimatedSprite
collisions HashSet
currentAmmo Ammo
currentLevel Level
firing bool
inFocus Tower
launchFrom Transform
levels Level[]
noTowerMask LayerMask
placed bool
radiusSprite tk2dSprite
target Enemy
targetLayer LayerMask

Public Methods

Method Description
Awake ( ) : void
Dragging ( ) : void
FindTarget ( ) : Enemy
Fire ( ) : void
FireCompleteDelegate ( tk2dAnimatedSprite sprite, int clipId ) : void
Launch ( tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum ) : void
OnCollisionEnter ( Collision collision ) : void
OnCollisionExit ( Collision collision ) : void
OnDrawGizmos ( ) : void
OnGUI ( ) : void
OnTriggerEnter ( Collider collider ) : void
OnTriggerExit ( Collider collider ) : void
Reload ( Ammo newAmmo ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Dragging() public method

public Dragging ( ) : void
return void

FindTarget() public method

public FindTarget ( ) : Enemy
return Enemy

Fire() public method

public Fire ( ) : void
return void

FireCompleteDelegate() public method

public FireCompleteDelegate ( tk2dAnimatedSprite sprite, int clipId ) : void
sprite tk2dAnimatedSprite
clipId int
return void

Launch() public method

public Launch ( tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum ) : void
sprite tk2dAnimatedSprite
clip tk2dSpriteAnimationClip
frame tk2dSpriteAnimationFrame
frameNum int
return void

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

OnCollisionExit() public method

public OnCollisionExit ( Collision collision ) : void
collision Collision
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider collider ) : void
collider Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider collider ) : void
collider Collider
return void

Reload() public method

public Reload ( Ammo newAmmo ) : void
newAmmo Ammo
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public_oe property

public tk2dAnimatedSprite anim
return tk2dAnimatedSprite

collisions public_oe property

public HashSet collisions
return HashSet

currentAmmo public_oe property

public Ammo currentAmmo
return Ammo

currentLevel public_oe property

public Level currentLevel
return Level

firing public_oe property

public bool firing
return bool

inFocus public_oe static_oe property

public static Tower inFocus
return Tower

launchFrom public_oe property

public Transform launchFrom
return Transform

levels public_oe property

public Level[] levels
return Level[]

noTowerMask public_oe property

public LayerMask noTowerMask
return LayerMask

placed public_oe property

public bool placed
return bool

radiusSprite public_oe property

public tk2dSprite radiusSprite
return tk2dSprite

target public_oe property

public Enemy target
return Enemy

targetLayer public_oe property

public LayerMask targetLayer
return LayerMask