示例#1
0
 public TextComponent(string i_AssetName, string i_Name, Game i_Game, GameScreen i_Screen, int i_CallsOrder)
     : base(String.Empty, i_Game, i_Screen, i_CallsOrder)
 {
     m_FontName = i_AssetName;
 }
示例#2
0
 public TextComponent(string i_AssetName, Game i_Game, GameScreen i_Screen, int i_UpdateOrder, int i_DrawOrder)
     : base(String.Empty, i_Game, i_Screen, i_UpdateOrder, i_DrawOrder)
 {
     m_FontName = i_AssetName;
 }
示例#3
0
 public Sprite(Game game, GameScreen i_Screen, string i_AssetName, Rectangle i_SourceRectangle) :
     this(game, i_Screen, i_AssetName, Color.White)
 {
     m_SourceRectangle      = i_SourceRectangle;
     isUsingSourceRectangle = true;
 }
示例#4
0
 public TextComponent(string i_AssetName, Game i_Game, GameScreen i_Screen)
     : base(String.Empty, i_Game, i_Screen, int.MaxValue)
 {
     m_FontName = i_AssetName;
 }
示例#5
0
 public Sprite(Game game, GameScreen i_Screen, string i_AssetName) :
     this(game, i_Screen, i_AssetName, Color.White)
 {
 }