C# Class Bug.GameObjects.Dynamic

Inheritance: Bug.GameObject
Afficher le fichier Open project: Projectfights/Fight-insect Class Usage Examples

Méthodes publiques

Méthode Description
Dynamic ( ) : Bug
Dynamic ( Vector2 pos ) : Bug
Dynamic ( Vector2 pos, Vector2 vel_ ) : Bug
OnCollision ( GameObject other, Direction dir ) : void
ResetPos ( ) : void
ResetPosX ( ) : void
ResetPosY ( ) : void
SetPos ( Vector2 pos ) : void

Method Details

Dynamic() public méthode

public Dynamic ( ) : Bug
Résultat Bug

Dynamic() public méthode

public Dynamic ( Vector2 pos ) : Bug
pos Vector2
Résultat Bug

Dynamic() public méthode

public Dynamic ( Vector2 pos, Vector2 vel_ ) : Bug
pos Vector2
vel_ Vector2
Résultat Bug

OnCollision() public abstract méthode

public abstract OnCollision ( GameObject other, Direction dir ) : void
other Bug.GameObject
dir Direction
Résultat void

ResetPos() public méthode

public ResetPos ( ) : void
Résultat void

ResetPosX() public méthode

public ResetPosX ( ) : void
Résultat void

ResetPosY() public méthode

public ResetPosY ( ) : void
Résultat void

SetPos() public méthode

public SetPos ( Vector2 pos ) : void
pos Vector2
Résultat void