C# Class Avatar, SlashRunner

Inheritance: MonoBehaviour
Afficher le fichier Open project: matthewAURA/SlashRunner Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
AfterDeath ( ) : void
BeforeDeath ( ) : void
Die ( ) : void

Private Methods

Méthode 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 méthode

protected AfterDeath ( ) : void
Résultat void

BeforeDeath() protected méthode

protected BeforeDeath ( ) : void
Résultat void

Die() protected méthode

protected Die ( ) : void
Résultat void

GetPowerUp() public méthode

public GetPowerUp ( ) : IPowerUp
Résultat IPowerUp

GoBerserk() public méthode

public GoBerserk ( ) : void
Résultat void

JumpStomp() public méthode

public JumpStomp ( ) : void
Résultat void

JumpSwipe() public méthode

public JumpSwipe ( ) : void
Résultat void

Kill() public méthode

public Kill ( ) : void
Résultat void

LowSwipe() public méthode

public LowSwipe ( ) : void
Résultat void

Move() public méthode

public Move ( ) : void
Résultat void

OnEnemyAttack() public méthode

public OnEnemyAttack ( ) : void
Résultat void

OnHealthChange() public méthode

public OnHealthChange ( ) : void
Résultat void

OverHeadSwipe() public méthode

public OverHeadSwipe ( ) : void
Résultat void

Pierce() public méthode

public Pierce ( ) : void
Résultat void

RegisterHeathChangeListener() public static méthode

public static RegisterHeathChangeListener ( IAvatarHeathChangeListener listener ) : void
listener IAvatarHeathChangeListener
Résultat void

sanic() public méthode

public sanic ( ) : void
Résultat void

setPowerUp() public méthode

public setPowerUp ( IPowerUp setPowerUp ) : void
setPowerUp IPowerUp
Résultat void

Property Details

attackAnimation public_oe property

public Sprite attackAnimation
Résultat Sprite

attackListenerList public_oe static_oe property

public static List attackListenerList
Résultat List

blastSound public_oe property

public AudioClip blastSound
Résultat AudioClip

grounded public_oe property

public bool grounded
Résultat bool

groundedRadius public_oe property

public float groundedRadius
Résultat float

healthChangeListenerList public_oe static_oe property

public static List healthChangeListenerList
Résultat List

healthSound public_oe property

public AudioClip healthSound
Résultat AudioClip

jumpForce public_oe property

public float jumpForce
Résultat float

movementForce public_oe property

public float movementForce
Résultat float

playerFeet public_oe property

public float playerFeet
Résultat float

powerUpChangeListenerList public_oe static_oe property

public static List powerUpChangeListenerList
Résultat List

slashSound public_oe property

public AudioClip slashSound
Résultat AudioClip

slowSound public_oe property

public AudioClip slowSound
Résultat AudioClip