Exemplo n.º 1
0
 public override void Effect(entities.Entity e)
 {
     Character spellHit = (Character)e;
     if (spellHit != null)
     {
         spellHit.Immobilise();
         spellHit.Sprite.Overlay = Color.Blue;
     }
 }
Exemplo n.º 2
0
 var(entities, entitiescount) = entitiesDb.QueryEntities <T>(@group);
Exemplo n.º 3
0
 protected override void OnStartup(StartupEventArgs e)
 {
     DB = new entities(); //initializing database on app startup
     base.OnStartup(e);
 }
Exemplo n.º 4
0
 _battle = new Battle(entities, terrain);
Exemplo n.º 5
0
 base.EndPicking(entities, pickedEntities);
 entities = _queriesByToken[sel.Token].DoSelection(entities, sel.Arguments, sel.Inverted, entityManager);
Exemplo n.º 7
0
 public override void Effect(entities.Entity e)
 {
     Character spellHit = (Character)e;
     if (spellHit != null)
     {
         spellHit.Damage(20);
         spellHit.Sprite.Overlay = Color.Red;
     }
 }