C# Class Avatar, SlashRunner

Inheritance: MonoBehaviour
Mostrar archivo Open project: matthewAURA/SlashRunner Class Usage Examples

Public Properties

Property Type Description
attackAnimation Sprite
attackListenerList List
blastSound AudioClip
grounded bool
groundedRadius float
healthChangeListenerList List
healthSound AudioClip
jumpForce float
movementForce float
playerFeet float
powerUpChangeListenerList List
slashSound AudioClip
slowSound AudioClip

Public Methods

Method Description
GetPowerUp ( ) : IPowerUp
GoBerserk ( ) : void
JumpStomp ( ) : void
JumpSwipe ( ) : void
Kill ( ) : void
LowSwipe ( ) : void
Move ( ) : void
OnEnemyAttack ( ) : void
OnHealthChange ( ) : void
OverHeadSwipe ( ) : void
Pierce ( ) : void
RegisterHeathChangeListener ( IAvatarHeathChangeListener listener ) : void
sanic ( ) : void
setPowerUp ( IPowerUp setPowerUp ) : void

Protected Methods

Method Description
AfterDeath ( ) : void
BeforeDeath ( ) : void
Die ( ) : void

Private Methods

Method Description
Awake ( ) : void
FireAttackActionEvent ( Avatar attack ) : void
FixedUpdate ( ) : void
OnTriggerEnter2D ( Collider2D otherCollider ) : void
Start ( ) : void
Update ( ) : void
Wait ( ) : void
WaitToDie ( float waitTime ) : IEnumerator

Method Details

AfterDeath() protected method

protected AfterDeath ( ) : void
return void

BeforeDeath() protected method

protected BeforeDeath ( ) : void
return void

Die() protected method

protected Die ( ) : void
return void

GetPowerUp() public method

public GetPowerUp ( ) : IPowerUp
return IPowerUp

GoBerserk() public method

public GoBerserk ( ) : void
return void

JumpStomp() public method

public JumpStomp ( ) : void
return void

JumpSwipe() public method

public JumpSwipe ( ) : void
return void

Kill() public method

public Kill ( ) : void
return void

LowSwipe() public method

public LowSwipe ( ) : void
return void

Move() public method

public Move ( ) : void
return void

OnEnemyAttack() public method

public OnEnemyAttack ( ) : void
return void

OnHealthChange() public method

public OnHealthChange ( ) : void
return void

OverHeadSwipe() public method

public OverHeadSwipe ( ) : void
return void

Pierce() public method

public Pierce ( ) : void
return void

RegisterHeathChangeListener() public static method

public static RegisterHeathChangeListener ( IAvatarHeathChangeListener listener ) : void
listener IAvatarHeathChangeListener
return void

sanic() public method

public sanic ( ) : void
return void

setPowerUp() public method

public setPowerUp ( IPowerUp setPowerUp ) : void
setPowerUp IPowerUp
return void

Property Details

attackAnimation public_oe property

public Sprite attackAnimation
return Sprite

attackListenerList public_oe static_oe property

public static List attackListenerList
return List

blastSound public_oe property

public AudioClip blastSound
return AudioClip

grounded public_oe property

public bool grounded
return bool

groundedRadius public_oe property

public float groundedRadius
return float

healthChangeListenerList public_oe static_oe property

public static List healthChangeListenerList
return List

healthSound public_oe property

public AudioClip healthSound
return AudioClip

jumpForce public_oe property

public float jumpForce
return float

movementForce public_oe property

public float movementForce
return float

playerFeet public_oe property

public float playerFeet
return float

powerUpChangeListenerList public_oe static_oe property

public static List powerUpChangeListenerList
return List

slashSound public_oe property

public AudioClip slashSound
return AudioClip

slowSound public_oe property

public AudioClip slowSound
return AudioClip