Postado Junho 21, 2011 13 anos Para verificar se tem um pk na tela eh c.BattleList.GetCreatures().FirstOrDefault(Function(i) i.Skull = Skull.Red Or i.Skull = Skull.White Or i.Skull = Skull.Yellow) qual seria a funçao para verificar se eh 1 player ou 1 npc ou 1 creature?
Postado Junho 22, 2011 13 anos NPC: c.BattleList.GetCreatures().FirstOrDefault(Function(i) i.Type = CreatureType.NPC) Player c.BattleList.GetCreatures().FirstOrDefault(Function(i) i.Type = CreatureType.Player) Creature c.BattleList.GetCreatures().FirstOrDefault(Function(i) i.Type = CreatureType.Target) "A esperança é o sonho do homem acordado." Aristóteles
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.