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