Example #1
0
File: Welt.cs Project: pintman/Robi
 public void FuegeElementHinzu(Element element)
 {
     elemente.Add(element);
     element.SetzeWelt(this);
 }
Example #2
0
File: Welt.cs Project: pintman/Robi
 public void EntferneElement(Element element)
 {
     elemente.Remove(element);
 }
Example #3
0
 public List<Element> SucheElementeVomTyp(Element element)
 {
     return welt.ElementeAnStelle(pPosition).FindAll(el =>
         element.GetType().IsAssignableFrom(el.GetType()));
 }
Example #4
0
 public void ElementHatEtwasGesagt(Element element, String text)
 {
     Ausgabe(element.HoleName() + ": " + text);
 }
Example #5
0
 public Boolean ElementHier(Element el)
 {
     return SucheElementeVomTyp(el).Count > 0;
 }