示例#1
0
 public bool SetInvincible(PawnInvincibleKey key)
 {
     return _invincible.Add(key);
 }
示例#2
0
 public bool UnsetInvincible(PawnInvincibleKey key)
 {
     return _invincible.Remove(key);
 }
示例#3
0
 public bool HasInvincible(PawnInvincibleKey key)
 {
     return _invincible.Contains(key);
 }