C# Class VacuumCleaner.Env.Environment

Show file Open project: Troilk/VacuumCleaner Class Usage Examples

Public Properties

Property Type Description
mazeSize_ int

Public Methods

Method Description
AcceptAction ( ActionType action ) : void
Change ( RandomNumGen rng ) : void
DirtAmount ( int x, int y ) : int
Environment ( string mapFileName ) : System
IsCurrentPosDirty ( ) : bool

Method Details

AcceptAction() public method

public AcceptAction ( ActionType action ) : void
action ActionType
return void

Change() public method

public Change ( RandomNumGen rng ) : void
rng RandomNumGen
return void

DirtAmount() public method

public DirtAmount ( int x, int y ) : int
x int
y int
return int

Environment() public method

public Environment ( string mapFileName ) : System
mapFileName string
return System

IsCurrentPosDirty() public method

public IsCurrentPosDirty ( ) : bool
return bool

Property Details

mazeSize_ public static property

public static int mazeSize_
return int