EngineObjectContainer
public protocol EngineObjectContainer : EngineSpriteContainer
Container that can contain objects
-
Adds a point to the container
Declaration
Swift
func add(point: EngineType.PointObjectType)Parameters
pointThe point to add
-
Adds a rectangle to the container
Declaration
Swift
func add(rectangle: EngineType.RectangleObjectType)Parameters
rectangleThe rectangle to add
-
Adds an ellipse to the container
Declaration
Swift
func add(ellipse: EngineType.EllipseObjectType)Parameters
ellipseThe ellipse to add
-
Adds text to the container
Declaration
Swift
func add(text: EngineType.TextObjectType)Parameters
textThe text to add
-
Adds a polyline to the container
Declaration
Swift
func add(polyline: EngineType.PolylineObjectType)Parameters
polylineThe polyline to add
-
Adds a polygon to the container
Declaration
Swift
func add(polygon: EngineType.PolygonObjectType)Parameters
polygonThe polygon to add
View on GitHub
EngineObjectContainer Protocol Reference