public GameObjectView(Camera camera) { Camera = camera; // this.spriteBatch = new SpriteBatch(graphicsDevice); // _gameObjectTexture = contentTexture; //content.Load<Texture2D>(contentName); }
public TrooperHitView(Camera camera, string damage, Vector2 position, SpriteFont font, GameTime gameTime) { this._camera = camera; this._damage = damage; this._position = position; this._font = font; _timeLived = 0f; }
public PauseMenuView(Microsoft.Xna.Framework.Graphics.GraphicsDevice _graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager _content, Model.PauseMenu _pauseMenu, Camera camera) { // TODO: Complete member initialization this._graphicsDevice = _graphicsDevice; this._content = _content; this._pauseMenu = _pauseMenu; this.camera = camera; }
public LevelView(GraphicsDevice graphicsDevice, ContentManager content, LevelManager levelManager, Camera cam) : base(cam) { _levelManager = levelManager; _trooperView = new TrooperView(cam); _cursorView = new CursorView(cam); _mediKitView = new MediKitView(cam); _buildingView = new BuildingView(cam); _trooperHitViews = new List<TrooperHitView>(); _ammoView = new AmmoView(cam); }
public LevelController(int viewportWidth, int viewportHeight, GraphicsDevice graphicsDevice, ContentManager content) { this._viewportWidth = viewportWidth; this._viewportHeight = viewportHeight; this._graphicsDevice = graphicsDevice; this._content = content; _levelManager = new Model.LevelManager(_numberOfXTiles, _numberOfYTiles); _levelCamera = new Camera(_viewportHeight, _viewportWidth, xOffset: 10, yOffset: 10, xTileSize: _xTileSize, yTileSize: _yTileSize, numberOfXTiles: _numberOfXTiles, numberOfYTiles: _numberOfYTiles); _levelView = new LevelView(_graphicsDevice, _content, _levelManager, _levelCamera); _killedTrooperView = new KilledTrooperView(_levelCamera); _trooperInfoController = new InfoController( viewportWidth, viewportHeight, graphicsDevice, content, xOffset: 10 +5 + _xTileSize * _numberOfXTiles, yOffset: 10); }
public MediKitView(Camera cam) : base(cam) { }
public TrooperView(Camera cam) : base(cam) { _bulletView = new BulletView(cam); _movementView = new MovementView(cam); }
public MenuView(GraphicsDevice graphicsDevice, ContentManager content, BaseMenu menu, Camera cam) : base(cam) { _menu = menu; }
public AmmoView(Camera cam) : base(cam) { }
public CursorView(Camera cam, Cursor cursor) : base(cam) { Cursor = cursor; }
public KilledTrooperView(Camera camera) : base(camera) { }
public ParticleView(SplitterSystem splitterSystem, Camera cam) : base(cam) { _splitterSystem = splitterSystem; }
public BulletView(Camera cam) : base(cam) { }
public BuildingView(Camera cam) : base(cam) { }
public MovementView(Camera cam) : base(cam) { //_levelPositions = levelPositions; }
public InfoView(Camera camera, Info _trooperInfo) : base(camera) { this._trooperInfo = _trooperInfo; }
public HelpView(Camera camera, Help help) : base(camera) { _help = help; }