C# Класс GoodAI.Modules.School.Common.Shape

Наследование: GameObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetRandomShape() публичный статический Метод

public static GetRandomShape ( Random rndGen, int numberOfShapes = 10 ) : System.Drawing.Shapes
rndGen System.Random
numberOfShapes int Cardinality of set from you are choosing
Результат System.Drawing.Shapes

GetShapeAddr() публичный статический Метод

public static GetShapeAddr ( System.Drawing.Shapes shape ) : string
shape System.Drawing.Shapes
Результат string

Shape() публичный Метод

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
Результат System