C# Class CrabManager, CrabBattle

Inheritance: MonoBehaviour
Mostrar archivo Open project: tomoprime/CrabBattle Class Usage Examples

Public Properties

Property Type Description
BoundaryMat Material
CurrentHealth int
MaxHealth int

Public Methods

Method Description
CalculateHealth ( ) : void
CrabCommand ( int crabAction, float actionSpeed, int seed ) : void
CrabMoveSync ( float x, float z, float aimx, float aimz, bool direction, float time ) : void
HitWeakpoint ( ) : void
SpawnGun ( ) : void
Start ( ) : void
Update ( ) : void
UpdateHealthBar ( ) : void
WalkLeft ( float speed ) : void
WeakPointFeedback ( float c ) : void

Private Methods

Method Description
BlinkWeakPointMessage ( int blinkcount ) : IEnumerator
ChangeTargetSync ( Vector3 Target, float wait ) : IEnumerator
CrabDeathExplosions ( ) : IEnumerator
CrabDie ( ) : IEnumerator
CrabFastDeath ( ) : IEnumerator
CrazyBarrage ( ) : IEnumerator
EyeDeath ( ) : IEnumerator
EyesAlive ( ) : IEnumerator
MegaBeam ( float length, bool useRapidCannon ) : IEnumerator
MusicFade ( ) : IEnumerator
RandomSpray ( float speed, int seed ) : IEnumerator
RapidCannon ( float speed, int difficulty ) : IEnumerator
SweepShot ( float speed ) : IEnumerator

Method Details

CalculateHealth() public method

public CalculateHealth ( ) : void
return void

CrabCommand() public method

public CrabCommand ( int crabAction, float actionSpeed, int seed ) : void
crabAction int
actionSpeed float
seed int
return void

CrabMoveSync() public method

public CrabMoveSync ( float x, float z, float aimx, float aimz, bool direction, float time ) : void
x float
z float
aimx float
aimz float
direction bool
time float
return void

HitWeakpoint() public method

public HitWeakpoint ( ) : void
return void

SpawnGun() public method

public SpawnGun ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateHealthBar() public method

public UpdateHealthBar ( ) : void
return void

WalkLeft() public method

public WalkLeft ( float speed ) : void
speed float
return void

WeakPointFeedback() public method

public WeakPointFeedback ( float c ) : void
c float
return void

Property Details

BoundaryMat public_oe property

public Material BoundaryMat
return Material

CurrentHealth public_oe property

public int CurrentHealth
return int

MaxHealth public_oe property

public int MaxHealth
return int