C# Class GoodAI.Modules.School.Common.Shape

Inheritance: GameObject
ファイルを表示 Open project: GoodAI/BrainSimulator

Public Methods

Method Description
GetRandomShape ( Random rndGen, int numberOfShapes = 10 ) : System.Drawing.Shapes

GetShapeAddr ( System.Drawing.Shapes shape ) : string
Shape ( System.Drawing.Shapes shapeType, PointF position, SizeF size = default(SizeF), float rotation = 0f, GameObjectType type = GameObjectType.None ) : System

Method Details

GetRandomShape() public static method

public static GetRandomShape ( Random rndGen, int numberOfShapes = 10 ) : System.Drawing.Shapes
rndGen System.Random
numberOfShapes int Cardinality of set from you are choosing
return System.Drawing.Shapes

GetShapeAddr() public static method

public static GetShapeAddr ( System.Drawing.Shapes shape ) : string
shape System.Drawing.Shapes
return string

Shape() public method

public Shape ( System.Drawing.Shapes shapeType, PointF position, SizeF size = default(SizeF), float rotation = 0f, GameObjectType type = GameObjectType.None ) : System
shapeType System.Drawing.Shapes
position System.Drawing.PointF
size System.Drawing.SizeF
rotation float
type GameObjectType
return System