public BallEntity() { mData = new ConstantData (); InitialPhysicsEntity ("ball"); }
private void CreateLayers() { hudLayer = new CCLayer (); this.AddChild (hudLayer); gameplayLayer = new CCLayer (); this.AddChild (gameplayLayer); mData = new ConstantData (gameplayLayer); }
public BallEntity(CCLayer gameLayer) { gamelayer = gameLayer; mData = new ConstantData (); InitialPhysicsEntity ("ball"); }