/// <summary> /// Instantiates a new EuropaConsole. /// </summary> public EuropaConsole(EuropaGame game) { this._game = game; this._background = game.GraphicsDevice.BlockColour(new Color(0.25f, 0.25f, 0.25f, 0.5f)); // dark grey, translucent this._spriteFont = game.GetFont(); this._history = new List<string>() { "test oldest line", "test middle line", "test new line" }; this._currentLine = string.Empty; }
/// <summary> /// Instantiates a new EuropaConsole. /// </summary> public EuropaConsole(EuropaGame game) { this._game = game; this._background = game.GraphicsDevice.BlockColour(new Color(0.25f, 0.25f, 0.25f, 0.5f)); // dark grey, translucent this._spriteFont = game.GetFont(); this._history = new List <string>() { "test oldest line", "test middle line", "test new line" }; this._currentLine = string.Empty; }
/// <summary> /// Instantiates a new actor. /// </summary> protected Actor(EuropaGame game) { this._game = game; }
/// <summary> /// Instantiates a new Blob. /// </summary> /// <param name="colour">The colour of the blob.</param> public Blob(EuropaGame game, Color colour, Vector2 location) : base(game) { this._blobTexture = game.GraphicsDevice.BlockColour(colour); base._location = location; }
/// <summary> /// Instantiates a new Blob. /// </summary> /// <param name="colour">The colour of the blob.</param> public Blob(EuropaGame game, Color colour, Vector2 location) : base(game) { this._blobTexture = game.GraphicsDevice.BlockColour(colour); base._location = location; }
/// <summary> /// Instantiates a new actor. /// </summary> protected Actor(EuropaGame game) { this._game = game; }