예제 #1
0
 public void activate(Ship ship)
 {
     //SpriteBatch boxBatch = SpriteBatchManager.find(SpriteBatch.SpriteBatchName.Boxes);
     this.cPCSTree.Insert(ship, this.cParent);
     ship.addSpriteToBatch(this.cSpriteBatch);
     ship.addCollisionToBatch(SpriteBatchManager.find(SpriteBatch.SpriteBatchName.Boxes));
 }