public HumanPlayer(Color color) : base(color) { healthBar = new ProgressBar(new Zone(0, 0, 10, 2)); healthBar.BorderThickness = 0; resourceBar = new ResourceBar(new Zone(0, 0, 40, 6)); resourceBar.BorderThickness = 0; pt = new PeriodicTable(this); selectionCircle = new Animation("SelectionCircleSmall"); }
public static void DrawPixel(Zone bounds, Color color) { if (pixel == null) pixel = new Sprite("WhitePixel"); pixel.Color = color; pixel.Draw(bounds); }
public Screen(string backgroundSpriteName = "None") { background = new Sprite(backgroundSpriteName); Bounds = new Zone(0, 0, background.Bounds.Width, background.Bounds.Height); }