Exemplo n.º 1
0
 public CursorGameObject(Cursor cursor)
     : base("menu/cursor", new Vector2(cursor.mouse.X, cursor.mouse.Y))
 {
     this.cursor = cursor;
     this.zindex = 1.0f;
     this.visible = false;
 }
Exemplo n.º 2
0
 public CursorGameObject(String texturePath, Cursor cursor)
     : base(texturePath, new Vector2(cursor.mouse.X, cursor.mouse.Y))
 {
     this.cursor = cursor;
     this.zindex = 1.0f;
     this.visible = false;
 }
Exemplo n.º 3
0
        protected override void Initialize()
        {
            wordMineCursor = new Cursor();

            wordMineSceneManager = new SceneManager(
                new List<Scene>()
                {
                    new MenuScene(),
                    new PlayScene(),
                    new MenuScene()
                }
            );

            base.Initialize();
        }
Exemplo n.º 4
0
 public InteractableScene()
     : base()
 {
     this.cursor = Game1.wordMineCursor;
 }