Exemplo n.º 1
0
 public SequenceEntity(Vector2D position, Playfield in_playfield)
     : base(3, in_playfield)
 {
     Position = position;
 }
Exemplo n.º 2
0
        public Player(int in_playerIndex, Keys in_leftKey, Keys in_rightKey,
            Keys in_downKey, Keys in_upKey, Playfield in_playfield)
			: base(26, in_playfield)
		{
            playfieldOn = in_playfield;
            playerIndex = in_playerIndex;
            leftKey = in_leftKey;
            downKey = in_rightKey;
            rightKey = in_downKey;
            upKey = in_upKey;

            int playerSequenceIndex = GetPlayerIndex();
            m_Radius = 8;
			Position = new Vector2D(GameWidth/2, GameHeight/2);
			m_Velocity.Zero();
        }
Exemplo n.º 3
0
        internal void StartNewGame()
        {
            Focus();

            playfield = new Playfield();

            playfield.StartNewGame();
        }
Exemplo n.º 4
0
        public Entity(double radius, Playfield in_playfield)
		{
            levelMap = in_playfield.LevelMap;
			m_Radius = radius;
			m_Velocity = new Vector2D(60,120);
		}