Ejemplo n.º 1
0
 public CCBox2dDraw(string spriteFontName)
 {
     _primitiveBatch = new CCPrimitiveBatch(CCDrawManager.GraphicsDevice, 5000);
     _spriteFont     = CCApplication.SharedApplication.Content.Load <SpriteFont>(spriteFontName);
     _stringData     = new List <StringData>();
     _stringBuilder  = new StringBuilder();
 }
Ejemplo n.º 2
0
 public CCBox2dDraw(string spriteFontName)
 {
     _primitiveBatch = new CCPrimitiveBatch(CCDrawManager.GraphicsDevice, 5000);
     _spriteFont = CCApplication.SharedApplication.Content.Load<SpriteFont>(spriteFontName);
     _stringData = new List<StringData>();
     _stringBuilder = new StringBuilder();
 }
Ejemplo n.º 3
0
 public Cocos2DDebugDraw()
 {
     _primitiveBatch = new CCPrimitiveBatch(CCDrawManager.GraphicsDevice, 5000);
     _spriteFont = CCApplication.SharedApplication.Content.Load<SpriteFont>("fonts/arial-12");
     _stringData = new List<StringData>();
     _stringBuilder = new StringBuilder();
 }
Ejemplo n.º 4
0
 public static void Init(GraphicsDevice graphics)
 {
     m_Batch = new CCPrimitiveBatch(graphics);
 }
Ejemplo n.º 5
0
 public static void Init(GraphicsDevice graphics)
 {
     m_Batch = new CCPrimitiveBatch(graphics);
 }