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); }
public void ResetStrategy() { _Strategy.Reset(this.y); }