C# Class Bug.GameObjects.HitBox

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

Méthodes publiques

Свойство Type Description
parent Fighter

Méthodes publiques

Méthode Description
Draw ( SpriteBatch s ) : void
GetBoundingBox ( ) : Rectangle
GetDamage ( ) : double
GetNoise ( ) : SoundEffect
HitBox ( Fighter parent, SoundEffect noise, List frames ) : System
IsActive ( ) : bool
Trigger ( ) : void
Update ( GameTime t ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch s ) : void
s Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetBoundingBox() public méthode

public GetBoundingBox ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

GetDamage() public méthode

public GetDamage ( ) : double
Résultat double

GetNoise() public méthode

public GetNoise ( ) : SoundEffect
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

HitBox() public méthode

public HitBox ( Fighter parent, SoundEffect noise, List frames ) : System
parent Fighter
noise Microsoft.Xna.Framework.Audio.SoundEffect
frames List
Résultat System

IsActive() public méthode

public IsActive ( ) : bool
Résultat bool

Trigger() public méthode

public Trigger ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime t ) : void
t Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

parent public_oe property

public Fighter,Bug.GameObjects parent
Résultat Fighter