Exemple #1
0
        public Map()
        {
            MovableBitmap material = new MovableBitmap();

            material.LoadBitmap(@"bitmaps\terrain_material\metal.png");
            _materialList.Add(material);
        }
Exemple #2
0
 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; }
 }
Exemple #3
0
 public Move(MovableBitmap buttonBitmap, string key)
     : base(buttonBitmap, key)
 {
 }
Exemple #4
0
 public Attack(MovableBitmap buttonBitmap, string key)
     : base(buttonBitmap, key)
 {
 }
Exemple #5
0
 public Command(MovableBitmap buttonBitmap, string key)
 {
     _buttonBitmap = buttonBitmap;
     _key          = key;
     _buttonText   = new MovableText(key, TEXT_SIZE);
 }
Exemple #6
0
 public TargetCommand(MovableBitmap buttonBitmap, string key)
     : base(buttonBitmap, key)
 {
 }