private Vector2 size = new Vector2(1.0f, 1.0f); //Size of the object #endregion Fields #region Methods public virtual void Draw(SpriteBatch batch, Map map) { map.DrawOnMap(batch, texture.texture, position); }
public void DrawLight(SpriteBatch batch, Map map) { if(visible) map.DrawOnMap(batch, light, position, scale); }