EngineObjectContainer
public protocol EngineObjectContainer : EngineSpriteContainer
Container that can contain objects
-
Adds a point to the container
Declaration
Swift
func add(point: EngineType.PointObjectType)
Parameters
point
The point to add
-
Adds a rectangle to the container
Declaration
Swift
func add(rectangle: EngineType.RectangleObjectType)
Parameters
rectangle
The rectangle to add
-
Adds an ellipse to the container
Declaration
Swift
func add(ellipse: EngineType.EllipseObjectType)
Parameters
ellipse
The ellipse to add
-
Adds text to the container
Declaration
Swift
func add(text: EngineType.TextObjectType)
Parameters
text
The text to add
-
Adds a polyline to the container
Declaration
Swift
func add(polyline: EngineType.PolylineObjectType)
Parameters
polyline
The polyline to add
-
Adds a polygon to the container
Declaration
Swift
func add(polygon: EngineType.PolygonObjectType)
Parameters
polygon
The polygon to add