예제 #1
0
 public void DrawString(LindaEngine.WorldModel.Content.Font font, string text, Framework.V2 position, Framework.V4 color, float rotation, float scale, float depth)
 {
     _batch.DrawString(
         font.Content as SpriteFont,
         text,
         position.ToVector2(),
         new Color(color.ToVector4()),
         rotation,
         Vector2.Zero,
         scale,
         SpriteEffects.None,
         depth);
 }