public virtual bool ContainsScreen(Screen screen) { if (screen == null) { throw new LSysException("Cannot create a [IScreen] instance !"); } return(_screens.Contains(screen)); }
public virtual bool ContainsUnLoad(Updateable u) { lock (unloads) { return(unloads.Contains(u)); } }
public void AddPolyPoint(float x, float y) { PointF p = new PointF(x, y); if (!poly.Contains(p)) { poly.Add(p); } }
public virtual TouchedClick AddClickListener(ClickListener c) { if (c == null) { return(this); } if (c == this) { return(this); } if (clicks == null) { clicks = new TArray <ClickListener>(8); } if (!clicks.Contains(c)) { clicks.Add(c); } return(this); }