Пример #1
0
Файл: Wall.cs Проект: crt09/Line
        public Wall(Game game, Point startPosition) : base(game)
        {
            Game.Components.Add(this);

            wall = new DrawableVertexArray(Game);
            defaultStartPosition = startPosition;
            Reload();
        }
Пример #2
0
        public Player(Game game) : base(game)
        {
            Game.Components.Add(this);
            observers = new List <IObserver>();
            trail     = new DrawableVertexArray(Game);

            Reload();
        }