C# Class MainPjMovement, ES2014B

Inheritance: AbstractEntity
Show file Open project: eloipuertas/ES2014B Class Usage Examples

Public Properties

Property Type Description
freeze float
i int
lerpMoving float
manaSpellCost float
maxAP int
minAP int
nextMagicAttack int
paused bool
physicalAttackRange int
regenHP int
regenMP int
shield bool
speed float
targetPosition Vector3

Public Methods

Method Description
getFreeze ( ) : float
getRegenHP ( ) : int
getRegenMP ( ) : int
getSelectedSpell ( ) : int
getShield ( ) : bool
increaseHeal ( int n ) : void
increaseMana ( int n ) : void
leftPressedMouse ( ) : bool
modeEasy ( ) : void
modeHard ( ) : void
modeMedium ( ) : void
onAttackReceived ( int dmg ) : void
setFreeze ( float n ) : void
setRegenHP ( int a ) : void
setRegenMP ( int a ) : void
setShield ( bool n ) : void
substractManaSpell ( int n ) : bool

Private Methods

Method Description
FixedUpdate ( ) : void
MoveTowardsTarget ( Vector3 target ) : void
OnControllerColliderHit ( ControllerColliderHit hit ) : void
Start ( ) : void

Method Details

getFreeze() public method

public getFreeze ( ) : float
return float

getRegenHP() public method

public getRegenHP ( ) : int
return int

getRegenMP() public method

public getRegenMP ( ) : int
return int

getSelectedSpell() public method

public getSelectedSpell ( ) : int
return int

getShield() public method

public getShield ( ) : bool
return bool

increaseHeal() public method

public increaseHeal ( int n ) : void
n int
return void

increaseMana() public method

public increaseMana ( int n ) : void
n int
return void

leftPressedMouse() public method

public leftPressedMouse ( ) : bool
return bool

modeEasy() public method

public modeEasy ( ) : void
return void

modeHard() public method

public modeHard ( ) : void
return void

modeMedium() public method

public modeMedium ( ) : void
return void

onAttackReceived() public method

public onAttackReceived ( int dmg ) : void
dmg int
return void

setFreeze() public method

public setFreeze ( float n ) : void
n float
return void

setRegenHP() public method

public setRegenHP ( int a ) : void
a int
return void

setRegenMP() public method

public setRegenMP ( int a ) : void
a int
return void

setShield() public method

public setShield ( bool n ) : void
n bool
return void

substractManaSpell() public method

public substractManaSpell ( int n ) : bool
n int
return bool

Property Details

freeze public property

public float freeze
return float

i public property

public int i
return int

lerpMoving public property

public float lerpMoving
return float

manaSpellCost public property

public float manaSpellCost
return float

maxAP public property

public int maxAP
return int

minAP public property

public int minAP
return int

nextMagicAttack public property

public int nextMagicAttack
return int

paused public property

public bool paused
return bool

physicalAttackRange public property

public int physicalAttackRange
return int

regenHP public property

public int regenHP
return int

regenMP public property

public int regenMP
return int

shield public property

public bool shield
return bool

speed public property

public float speed
return float

targetPosition public property

public Vector3 targetPosition
return Vector3