0ad/binaries/data/mods/public/simulation/components/interfaces/Health.js
Ykkrosh 7ea522a484 # Add on-screen health bars
This was SVN commit r8241.
2010-10-02 12:41:29 +00:00

6 lines
165 B
JavaScript

Engine.RegisterInterface("Health");
// Message of the form { "from": 100, "to", 90 },
// sent whenever health changes.
Engine.RegisterMessageType("HealthChanged");