コード例 #1
0
        public void Update(Vector2i mouseScreen, IMapManager currentMap)
        {
            if (currentMap == null || CurrentPermission == null || CurrentMode == null)
            {
                return;
            }

            ValidPosition = CurrentMode.Update(mouseScreen, currentMap);
        }
コード例 #2
0
        public void Update(ScreenCoordinates mouseScreen)
        {
            if (mouseScreen.MapID == MapManager.NULLSPACE || CurrentPermission == null || CurrentMode == null)
            {
                return;
            }

            ValidPosition = CurrentMode.Update(mouseScreen);
        }