C# Class UHSampleGame.Screens.PlayScreen

Inheritance: UHSampleGame.ScreenManagement.Screen
Show file Open project: holtkampw/UH-Sample-XNA-Project

Public Properties

Property Type Description
GameType PlayerScreenType

Public Methods

Method Description
AddUnit ( Unit unit ) : void
BuildTower ( Tile tile ) : void
Draw ( GameTime gameTime ) : void
HandleInput ( ) : void
HandleInput ( InputManager input ) : void
LoadContent ( ) : void
PlayScreen ( ) : System
PlayScreen ( PlayerSetup playerSetup, PlayerScreenType gameType ) : System
Reload ( ) : void
RemoveUnit ( Unit unit ) : void
SetupCamera ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AddUnit() public method

public AddUnit ( Unit unit ) : void
unit UHSampleGame.CoreObjects.Units.Unit
return void

BuildTower() public method

public BuildTower ( Tile tile ) : void
tile UHSampleGame.TileSystem.Tile
return void

Draw() public method

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

HandleInput() public method

public HandleInput ( ) : void
return void

HandleInput() public method

public HandleInput ( InputManager input ) : void
input UHSampleGame.InputManagement.InputManager
return void

LoadContent() public method

public LoadContent ( ) : void
return void

PlayScreen() public method

public PlayScreen ( ) : System
return System

PlayScreen() public method

public PlayScreen ( PlayerSetup playerSetup, PlayerScreenType gameType ) : System
playerSetup PlayerSetup
gameType PlayerScreenType
return System

Reload() public method

public Reload ( ) : void
return void

RemoveUnit() public method

public RemoveUnit ( Unit unit ) : void
unit UHSampleGame.CoreObjects.Units.Unit
return void

SetupCamera() public method

public SetupCamera ( ) : void
return void

UnloadContent() public method

public UnloadContent ( ) : void
return void

Update() public method

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

Property Details

GameType public static property

public static PlayerScreenType GameType
return PlayerScreenType