コード例 #1
0
        private void DrawPointInSpaceCross(Graphics graphics)
        {
            if (_gameSession.SelectedObject == null)
            {
                return;
            }

            var playerShip = _gameSession.GetPlayerSpaceShip();

            DrawTacticalMap.DrawPointInSpace(_gameSession.SelectedObject, playerShip, graphics, _screenParameters);
        }
コード例 #2
0
ファイル: DrawMapTools.cs プロジェクト: dunvit/Outland-Area
        public static void DrawDestinationPoint(Graphics graphics, GameSession gameSession, ICelestialObject point, ScreenParameters screenParameters)
        {
            if (point == null)
            {
                return;
            }

            var playerSpaceship = gameSession.GetPlayerSpaceShip();

            DrawTacticalMap.DrawPointInSpace(point, playerSpaceship, graphics, screenParameters);
        }