Beispiel #1
0
        public IPrototype Clone()
        {
            var ret = new Door();
            ret.IsOpen = this.IsOpen;
            ret.Height = this.Height;

            return ret;
        }
 public MazePrototypeFactory(Maze Maze, Door Door)
 {
     door = Door;
     maze = Maze;
 }