C# Class Electric_Potatoe_TD.Mob.Mob

显示文件 Open project: Haseo/Electric-Potatoe-TD Class Usage Examples

Protected Properties

Property Type Description
Waypoint List
currentLoop int
idx int
mobAttack int
mobMaxPV int
mobName String
mobPV int
mobPos Vector2
mobSpeed int
mobType EMobType

Public Methods

Method Description
GetMobType ( ) : EMobType
IsDead ( ) : bool
TakeDamage ( int damage ) : bool
update ( ) : int

Protected Methods

Method Description
Attack ( ) : int
CalcNewCoord ( ) : void
isMoving ( ) : bool

Method Details

Attack() protected method

protected Attack ( ) : int
return int

CalcNewCoord() protected method

protected CalcNewCoord ( ) : void
return void

GetMobType() public method

public GetMobType ( ) : EMobType
return EMobType

IsDead() public method

public IsDead ( ) : bool
return bool

TakeDamage() public method

public TakeDamage ( int damage ) : bool
damage int
return bool

isMoving() protected method

protected isMoving ( ) : bool
return bool

update() public method

public update ( ) : int
return int

Property Details

Waypoint protected_oe property

protected List Waypoint
return List

currentLoop protected_oe property

protected int currentLoop
return int

idx protected_oe property

protected int idx
return int

mobAttack protected_oe property

protected int mobAttack
return int

mobMaxPV protected_oe property

protected int mobMaxPV
return int

mobName protected_oe property

protected String mobName
return String

mobPV protected_oe property

protected int mobPV
return int

mobPos protected_oe property

protected Vector2 mobPos
return Vector2

mobSpeed protected_oe property

protected int mobSpeed
return int

mobType protected_oe property

protected EMobType mobType
return EMobType