0ad/binaries/data/mods/public/simulation/components/interfaces/ResourceGatherer.js
2016-08-03 12:04:49 +00:00

7 lines
286 B
JavaScript

Engine.RegisterInterface("ResourceGatherer");
/**
* Message of the form { "to": [{ "type": string, "amount": number, "max":number }] }
* sent from ResourceGatherer component whenever the amount of carried resources changes.
*/
Engine.RegisterMessageType("ResourceCarryingChanged");