Esempio n. 1
0
        void  AnimateGroup(Group aGroup, GameTime aGameTime)
        {
            if (!mEffects.Keys.Contains(aGroup))
            {
                mEffects.Add(aGroup, GroupEffect.GetEffect(aGroup));
                mEffects[aGroup].End      = this.EndGroup;
                mEffects[aGroup].EndEnemy = this.EndEnemy;
            }

            GroupEffect e = mEffects[aGroup];

            e.Animate(aGameTime);
        }
Esempio n. 2
0
 void EndEnemy(GroupEffect aGroupEffect)
 {
     mChange = true;
 }
Esempio n. 3
0
 void EndGroup(GroupEffect aGroupEffect)
 {
     mChange = true;
     mGroups.Remove(aGroupEffect.Group);
 }