public void Update(Vector2i mouseScreen, IMapManager currentMap) { if (currentMap == null || CurrentPermission == null || CurrentMode == null) { return; } ValidPosition = CurrentMode.Update(mouseScreen, currentMap); }
public void Update(ScreenCoordinates mouseScreen) { if (mouseScreen.MapID == MapManager.NULLSPACE || CurrentPermission == null || CurrentMode == null) { return; } ValidPosition = CurrentMode.Update(mouseScreen); }