C# Class CellsAutomate.Tools.CommonMethods

Show file Open project: Confirmit/Students

Public Methods

Method Description
GetPoints ( Point position ) : System.Drawing.Point[]
IsFree ( Point currentPoint, Membrane creatures ) : bool
IsValid ( Point x, int length, int height ) : bool
IsValidAndFree ( Point position, Membrane creatures ) : bool

Method Details

GetPoints() public static method

public static GetPoints ( Point position ) : System.Drawing.Point[]
position System.Drawing.Point
return System.Drawing.Point[]

IsFree() public static method

public static IsFree ( Point currentPoint, Membrane creatures ) : bool
currentPoint System.Drawing.Point
creatures Membrane
return bool

IsValid() public static method

public static IsValid ( Point x, int length, int height ) : bool
x System.Drawing.Point
length int
height int
return bool

IsValidAndFree() public static method

public static IsValidAndFree ( Point position, Membrane creatures ) : bool
position System.Drawing.Point
creatures Membrane
return bool