/// <summary>
 /// Initializes a new instance of the <see cref="BaseSceneNodeCommand"/> class.
 /// </summary>
 /// <param name="sceneNode">The scene node.</param>
 public BaseSceneNodeCommand(SceneNode sceneNode)
 {
     this.sceneNode = sceneNode;
     gameObject     = sceneNode.Tag;
     sceneControl   = sceneNode.SceneControl;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SceneNodesList"/> class.
 /// </summary>
 /// <param name="sceneScreen">The <see cref="SceneScreen"/> where will be the scene node used.</param>
 public SceneNodesList(SceneScreen sceneScreen)
 {
     _sceneScreen = sceneScreen;
 }