示例#1
0
文件: BombLeaf.cs 项目: xfanw/Game
 public BombLeaf(GameSpriteName spname, FallStrategy strategy, float x, float y, int lx, int ly)
 {
     proxySprite  = new ProxySprite(spname, x, y);
     CollisionObj = new CollisionObject(proxySprite);
     PlayBatchMan.Find(BatchName.Box).Add(CollisionObj.Box);
     this.x    = x;
     this.y    = y;
     _Strategy = strategy;
     _Strategy.Reset(this.y);
 }
示例#2
0
文件: BombLeaf.cs 项目: xfanw/Game
 public void ResetStrategy()
 {
     _Strategy.Reset(this.y);
 }