C# Class EtherDuels.Ruby.RubyGameBuilder

Builds Game using a Ruby script
Inheritance: GameBuilder
Show file Open project: julius/pse_spacewar

Public Methods

Method Description
BuildModel ( ) : GameModel

Builds a new game using the ruby script

BuildView ( GameModel model ) : GameView

Builds Views for a given game

RubyGameBuilder ( string path, Configuration configuration ) : System

Creates new RubyGameBuilder

Private Methods

Method Description
GetPlayerOfSpaceship ( GameModel gameModel, Spaceship spaceship ) : Player

Method Details

BuildModel() public method

Builds a new game using the ruby script
public BuildModel ( ) : GameModel
return EtherDuels.Game.Model.GameModel

BuildView() public method

Builds Views for a given game
public BuildView ( GameModel model ) : GameView
model EtherDuels.Game.Model.GameModel The game
return EtherDuels.Game.View.GameView

RubyGameBuilder() public method

Creates new RubyGameBuilder
public RubyGameBuilder ( string path, Configuration configuration ) : System
path string Path to the Ruby Script
configuration EtherDuels.Config.Configuration Configuration of the program
return System