Example #1
0
 public BoulderEntity(int x, int z)
 {
     this.x = x;
     this.z = z;
     this.sprite = new Sprite(0, 0, 0, 16, COLOR);
     this.sprites.Add(sprite);
 }
Example #2
0
 public EnemyEntity(double x, double z, int defaultTex, int defaultColor)
 {
     this.x = x;
     this.z = z;
     this.defaultColor = defaultColor;
     this.defaultTex = defaultTex;
     this.sprite = new Sprite(0, 0, 0, 4 * 8, defaultColor);
     this.sprites.Add(this.sprite);
     this.r = 0.3;
 }
Example #3
0
 public TorchBlock()
 {
     torchSprite = new Sprite(0, 0, 0, 3, Art.GetColor(0xffff00));
     sprites.Add(torchSprite);
 }
Example #4
0
 public LootBlock()
 {
     sprite = new Sprite(0, 0, 0, 16 + 2, Art.GetColor(0xffff80));
     addSprite(sprite);
     blocksMotion = true;
 }
Example #5
0
 public void addSprite(Sprite sprite)
 {
     sprites.Add(sprite);
 }
Example #6
0
 public AltarBlock()
 {
     blocksMotion = true;
     sprite = new Sprite(0, 0, 0, 16 + 4, Art.GetColor(0xE2FFE4));
     addSprite(sprite);
 }