Beispiel #1
0
 public virtual bool CanSee(WorldObject obj)
 {
     return(obj != null && !obj.IsDeleted && !obj.IsDisposed && obj.CanBeSee(this));
 }
Beispiel #2
0
 public virtual bool CanBeSee(WorldObject byObj)
 {
     return(byObj != null && !this.IsDeleted && !this.IsDisposed && byObj.Map != null && byObj.Map == this.Map);
 }