Ejemplo n.º 1
0
 public BallEntity()
 {
     mData = new ConstantData ();
     InitialPhysicsEntity ("ball");
 }
Ejemplo n.º 2
0
        private void CreateLayers()
        {
            hudLayer = new CCLayer ();
            this.AddChild (hudLayer);

            gameplayLayer = new CCLayer ();
            this.AddChild (gameplayLayer);

            mData = new ConstantData (gameplayLayer);
        }
Ejemplo n.º 3
0
 public BallEntity(CCLayer gameLayer)
 {
     gamelayer = gameLayer;
     mData = new ConstantData ();
     InitialPhysicsEntity ("ball");
 }