Exemplo n.º 1
0
 void IGameLogic.MoveSight(string id, PointModel position)
 {
     ModelToos.KeepPointInBounds(position, 0, 0, WorldWidth, WorldHeight);
     _session.ISightManager.MoveSight(id, position);
 }
Exemplo n.º 2
0
 void IGameLogic.HintSightPosition(string id, PointModel position)
 {
     ModelToos.KeepPointInBounds(position, 0, 0, WorldWidth, WorldHeight);
     _clients.SightPositionHinted(id, position);
 }