C# Class MyGame.PlayerModel

Inheritance: AnimatedModel
Show file Open project: mahmoudbahaa/XNA-Game-project

Public Properties

Property Type Description
shooting bool

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

This method renders the current state.

PlayerModel ( MyGame game, SkinnedModel skinnedModel ) : System
RHandTransformation ( ) : Matrix

Private Methods

Method Description
Attack ( GameTime gameTime ) : void
Run ( ) : void
playAnimation ( ) : void

Method Details

Draw() public method

This method renders the current state.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The elapsed game time.
return void

PlayerModel() public method

public PlayerModel ( MyGame game, SkinnedModel skinnedModel ) : System
game MyGame
skinnedModel XNAnimation.SkinnedModel
return System

RHandTransformation() public method

public RHandTransformation ( ) : Matrix
return Matrix

Property Details

shooting public property

public bool shooting
return bool