Ejemplo n.º 1
0
        public void ProcessObject(List <List <Object> > matrix)
        {
            MazeFinish f = new MazeFinish(16 * finish.Item1, finish.Item2);

            for (int i = 0; i < checkpoints.Count; i++)
            {
                MazeCheckpoint c = new MazeCheckpoint(16 * checkpoints[i].Item1, 16 * checkpoints[i].Item2, checkpoints[i].Item3);
                f.AddCheckpoint(c);
                matrix[checkpoints[i].Item1].Add(c);
            }
            matrix[finish.Item1].Add(f);
        }
Ejemplo n.º 2
0
 public void AddCheckpoint(MazeCheckpoint c)
 {
     checkpoints.Add(c);
 }