C# Class Bug.Screens.Concrete.GameScreen

Inheritance: Screen
ファイルを表示 Open project: Projectfights/Fight-insect

Public Methods

Method Description
Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
GameScreen ( int widthScreen, int heightScreen, IScreenMaster master ) : Bug.Display
Update ( GameTime gameTime ) : void

Private Methods

Method Description
GetFighter ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D overlay, FighterInput input, bool flip, String type ) : Fighter
LoadAnim ( String name ) : AnimatedTexture2D

Method Details

Draw() public method

public Draw ( GameTime gameTime, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

GameScreen() public method

public GameScreen ( int widthScreen, int heightScreen, IScreenMaster master ) : Bug.Display
widthScreen int
heightScreen int
master IScreenMaster
return Bug.Display

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void