Esempio n. 1
0
        public Cube(Game game, int cubeSize)
            : base(game)
        {
            this.cubeSize = cubeSize;

            firstItem = new CommandQueueItem(new Vector3(-1), 0);
            lastItem  = new CommandQueueItem(new Vector3(-1), 0);
            lastItem.LinkTo(firstItem);
        }
Esempio n. 2
0
        public Cube(Game game, int cubeSize)
            : base(game)
        {
            this.cubeSize = cubeSize;

            firstItem = new CommandQueueItem(new Vector3(-1), 0);
            lastItem = new CommandQueueItem(new Vector3(-1), 0);
            lastItem.LinkTo(firstItem);
        }
Esempio n. 3
0
 public void LinkTo(CommandQueueItem item)
 {
     nextItem = item;
 }
Esempio n. 4
0
 public void LinkTo(CommandQueueItem item)
 {
     nextItem = item;
 }