Пример #1
0
 /// <summary>
 /// Function to create the engine instance of the shape. The engine instance is of type EngineInstanceSprite
 /// and located in the managed code library.
 /// </summary>
 /// <param name="bCreateChildren">relevant for the base class to create instances for children</param>
 public override void CreateEngineInstance(bool bCreateChildren)
 {
     _engineInstance = new EngineInstanceCamera2d();
     SetEngineInstanceBaseProperties(); // sets the position etc.
     base.CreateEngineInstance(bCreateChildren);
 }
Пример #2
0
 /// <summary>
 /// Function to create the engine instance of the shape. The engine instance is of type EngineInstanceSprite
 /// and located in the managed code library.
 /// </summary>
 /// <param name="bCreateChildren">relevant for the base class to create instances for children</param>
 public override void CreateEngineInstance(bool bCreateChildren)
 {
     _engineInstance = new EngineInstanceCamera2d();
     SetEngineInstanceBaseProperties(); // sets the position etc.
     base.CreateEngineInstance(bCreateChildren);
 }