public MonogameGhost(Game game) : base(game) { this.ghost = new GameConsoleGhost((GameConsole)game.Services.GetService <IGameConsole>()); strGhostTexture = "RedGhost"; this.ghost.State = GhostState.Roving; r = new Random(); }
public MonogameGhost(Game game) : base(game) { SM = (ShotHandler.ShotManager)game.Services.GetService(typeof(ShotHandler.IShotHandler)); this.ghost = new GameConsoleGhost((GameConsole)game.Services.GetService <IGameConsole>()); strGhostTexture = "RedGhost"; this.ghost.State = GhostState.Roving; r = new Random(); }