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

Inheritance: GameObject
Afficher le fichier Open project: GoodAI/BrainSimulator

Méthodes publiques

Méthode 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 méthode

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

GetShapeAddr() public static méthode

public static GetShapeAddr ( System.Drawing.Shapes shape ) : string
shape System.Drawing.Shapes
Résultat string

Shape() public méthode

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
Résultat System