Пример #1
0
        private void MapScreenEntered(MapEnterEventArgs args)
        {
            questionMarkText = new TextObj(Game.Fonts.JunicodeLargeFont)
            {
                FontSize = 30f,
                ForceDraw = true,
                Text = "?????",
                Align = Types.TextAlign.Centre,
                Position = new Vector2(660f, 360f - questionMarkText.Height / 2f)
            };

            if (!args.IsTeleporter)
                args.DrawNothing = true;
        }
Пример #2
0
        private void MapScreenEntered(MapEnterEventArgs args)
        {
            questionMarkText = new TextObj(Game.Fonts.JunicodeLargeFont)
            {
                FontSize  = 30f,
                ForceDraw = true,
                Text      = "?????",
                Align     = Types.TextAlign.Centre,
                Position  = new Vector2(660f, 360f - questionMarkText.Height / 2f)
            };

            if (!args.IsTeleporter)
            {
                args.DrawNothing = true;
            }
        }