C# Class Ballz.GameSession.Logic.GameLogic

Inheritance: Microsoft.Xna.Framework.GameComponent
Show file Open project: SpagAachen/Ballz Class Usage Examples

Public Methods

Method Description
ChooseNextBall ( Player player ) : Ball
EndTurn ( ) : void
GameLogic ( Ballz game, Session session ) : System
HandleMessage ( object sender, Message message ) : void
StartNextTurn ( ) : void
Update ( GameTime time ) : void

Method Details

ChooseNextBall() public method

public ChooseNextBall ( Player player ) : Ball
player Player
return Ballz.GameSession.World.Ball

EndTurn() public method

public EndTurn ( ) : void
return void

GameLogic() public method

public GameLogic ( Ballz game, Session session ) : System
game Ballz
session Session
return System

HandleMessage() public method

public HandleMessage ( object sender, Message message ) : void
sender object
message Ballz.Messages.Message
return void

StartNextTurn() public method

public StartNextTurn ( ) : void
return void

Update() public method

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