User Tools

Site Tools


mr:fire_blob

Fire Blob - Code References

Java Classes

Implementation Details

  • Class: `com.watabou.pixeldungeon.actors.blobs.Fire`
  • Extends: `Blob`
  • Lua Interface: `@LuaInterface` annotation present
  • Key Methods:
    1. `evolve()` - Handles fire spread and burning of flammable terrain
    2. `burn(int pos)` - Static method that applies burning to characters, burns items, and converts flammable terrain to embers
    3. `use(BlobEmitter)` - Emits flame particles
    4. `tileDesc()` - Returns fire info string from resources

String Resources

<string name="Fire_Info">Fire. Hot. Dangerous.</string>

mr/fire_blob.txt · Last modified: by 127.0.0.1