예제 #1
0
 public void removeLivingEntity(LivingEntity entity)
 {
     if (entity.GetType() == typeof(Monster)) {
         removeLivingEntity((Monster)entity);
         return;
     }
     livingList.Remove(entity);
 }
예제 #2
0
 public void addLivingEntity(LivingEntity entity)
 {
     if(entity.GetType() == typeof(Monster)){
         addLivingEntity((Monster)entity);
         return;
     }
     livingList.Add(entity);
 }