public void SendScreen(
public void SendScreen(Interfaces.IPacket buffer, bool self) { foreach (Interfaces.IMapObject _obj in Objects) { if (_obj != null) { if (_obj.UID != Owner.Entity.UID) { if (_obj.MapObjType == Game.MapObjectType.Entity) { GameState client = _obj.Owner as GameState; if (Owner.WatchingGroup != null && client.WatchingGroup == null) continue; if (Owner.TeamWatchingGroup != null && client.TeamWatchingGroup == null) continue; client.Send(buffer); } } } } if (self) Owner.Send(buffer); }