public Map() { MovableBitmap material = new MovableBitmap(); material.LoadBitmap(@"bitmaps\terrain_material\metal.png"); _materialList.Add(material); }
public UnitView(string name) { try { _bitmap.LoadBitmap(PATH + name + PNG); } catch { _bitmap = _basicView.Bitmap; } try { _outline.LoadBitmap(PATH + name + OUTLINE + PNG); } catch { _outline = _basicView.Outline; } try { _sign.LoadBitmap(PATH + name + SIGN + PNG); } catch { _sign = _basicView.Sign; } }
public Move(MovableBitmap buttonBitmap, string key) : base(buttonBitmap, key) { }
public Attack(MovableBitmap buttonBitmap, string key) : base(buttonBitmap, key) { }
public Command(MovableBitmap buttonBitmap, string key) { _buttonBitmap = buttonBitmap; _key = key; _buttonText = new MovableText(key, TEXT_SIZE); }
public TargetCommand(MovableBitmap buttonBitmap, string key) : base(buttonBitmap, key) { }