C# Class MyGame.MonsterUnit

Inheritance: Unit
Mostrar archivo Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Public Properties

Property Type Description
dead bool
monsterConstants Helper.MonsterConstants
moving bool

Public Methods

Method Description
MonsterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, MonsterConstants monsterConstants ) : System
update ( GameTime gameTime ) : void

Allows the unit to update itself.

Method Details

MonsterUnit() public method

public MonsterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale, MonsterConstants monsterConstants ) : System
game MyGame
Position Vector3
Rotation Vector3
Scale Vector3
monsterConstants Helper.MonsterConstants
return System

update() public method

Allows the unit to update itself.
public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void

Property Details

dead public_oe property

public bool dead
return bool

monsterConstants public_oe property

public MonsterConstants,Helper monsterConstants
return Helper.MonsterConstants

moving public_oe property

public bool moving
return bool