Beispiel #1
0
            public void DrawTime()
            {
                // Apply the remaining time and draw it
                var time = RemainingTimeText;

                if (time != null)
                {
                    TextHandle.TextValue = "Ward: " + time;
                    TextHandle.Position  = new Vector2(ScreenPosition.X - TextHandle.Bounding.Width / 2f, ScreenPosition.Y + HealthBar.Height);
                    TextHandle.Draw();
                }
            }