public void Draw(SpriteBatch spriteBatch) { Texture2D texture = Textures.Block(type); if (texture != null) { spriteBatch.Draw(texture, Position(), color); } }