public Spike(Vector2 _position, bool used = true, int _Width = 32, int _Height = 32) { m_size = new Vector2(_Width, _Height); m_position = _position; m_texture = SpritePack.GetSingleton().GetTexture("Spike"); }
public SpritePack(GraphicsDevice _graphics, ContentManager _contents) { m_Instance = this; m_Textures = new Dictionary <string, Texture2D>(); m_RegisteredDevice = _graphics; m_ContentManager = _contents; }
protected override void Initialize() { spritePack = new SpritePack(GraphicsDevice, Content); base.Initialize(); }