C# Class PacManDuel.Models.Maze

Exibir arquivo Open project: EntelectChallenge/2014-PacMan-TestHarness Class Usage Examples

Public Methods

Method Description
FindCoordinateOf ( char symbol ) : Point
GetSymbol ( Point p ) : char
GetSymbol ( int x, int y ) : char
Maze ( Maze maze ) : System
Maze ( String filePath ) : System
Print ( ) : void
SetSymbol ( int x, int y, char symbol ) : void
SwapPlayerSymbols ( ) : void
ToFlatFormatString ( ) : String
WriteMaze ( String filePath ) : void

Method Details

FindCoordinateOf() public method

public FindCoordinateOf ( char symbol ) : Point
symbol char
return Point

GetSymbol() public method

public GetSymbol ( Point p ) : char
p Point
return char

GetSymbol() public method

public GetSymbol ( int x, int y ) : char
x int
y int
return char

Maze() public method

public Maze ( Maze maze ) : System
maze Maze
return System

Maze() public method

public Maze ( String filePath ) : System
filePath String
return System

Print() public method

public Print ( ) : void
return void

SetSymbol() public method

public SetSymbol ( int x, int y, char symbol ) : void
x int
y int
symbol char
return void

SwapPlayerSymbols() public method

public SwapPlayerSymbols ( ) : void
return void

ToFlatFormatString() public method

public ToFlatFormatString ( ) : String
return String

WriteMaze() public method

public WriteMaze ( String filePath ) : void
filePath String
return void