public SequenceEntity(Vector2D position, Playfield in_playfield) : base(3, in_playfield) { Position = position; }
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(); }
internal void StartNewGame() { Focus(); playfield = new Playfield(); playfield.StartNewGame(); }
public Entity(double radius, Playfield in_playfield) { levelMap = in_playfield.LevelMap; m_Radius = radius; m_Velocity = new Vector2D(60,120); }