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); }
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; }
public TorchBlock() { torchSprite = new Sprite(0, 0, 0, 3, Art.GetColor(0xffff00)); sprites.Add(torchSprite); }
public LootBlock() { sprite = new Sprite(0, 0, 0, 16 + 2, Art.GetColor(0xffff80)); addSprite(sprite); blocksMotion = true; }
public void addSprite(Sprite sprite) { sprites.Add(sprite); }
public AltarBlock() { blocksMotion = true; sprite = new Sprite(0, 0, 0, 16 + 4, Art.GetColor(0xE2FFE4)); addSprite(sprite); }