C# Class MinotaurTheseusApplication.Game

Datei anzeigen Open project: ZachChristensen/Theseus-and-the-Minotaur Class Usage Examples

Public Properties

Property Type Description
map ].Tile[
minotaur Minotaur
theseus Theseus

Public Methods

Method Description
CreateMap1 ( ) : void
DrawMap ( ) : void
GetTheseusNextMove ( ) : Point
IsBlocked ( Character character, Point direction ) : bool
IsExit ( Character character ) : bool
MinotaurTurn ( ) : bool
MoveCharacter ( Character character, Point direction ) : bool
Play ( ) : void
TheseusTurn ( ) : bool

Private Methods

Method Description
BuildMaze1 ( Tile map ) : ].Tile[

Method Details

CreateMap1() public method

public CreateMap1 ( ) : void
return void

DrawMap() public method

public DrawMap ( ) : void
return void

GetTheseusNextMove() public method

public GetTheseusNextMove ( ) : Point
return Point

IsBlocked() public method

public IsBlocked ( Character character, Point direction ) : bool
character Character
direction Point
return bool

IsExit() public method

public IsExit ( Character character ) : bool
character Character
return bool

MinotaurTurn() public method

public MinotaurTurn ( ) : bool
return bool

MoveCharacter() public method

public MoveCharacter ( Character character, Point direction ) : bool
character Character
direction Point
return bool

Play() public method

public Play ( ) : void
return void

TheseusTurn() public method

public TheseusTurn ( ) : bool
return bool

Property Details

map public_oe property

public Tile[,] map
return ].Tile[

minotaur public_oe property

public Minotaur,MinotaurTheseusApplication minotaur
return Minotaur

theseus public_oe property

public Theseus,MinotaurTheseusApplication theseus
return Theseus