1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/components/interfaces/ResourceGatherer.js
Ykkrosh 4e5c5e2d8f # Rewrite unit AI code.
Use HFSM for unit AI.
Support queuing orders.
Automatically attack back when attacked.
Automatically gather from farms after building them.

This was SVN commit r7775.
2010-07-21 16:09:58 +00:00

6 lines
202 B
JavaScript

Engine.RegisterInterface("ResourceGatherer");
// Message sent from ResourceGatherers to a ResourceSupply entity
// each time they gather resources from it
Engine.RegisterMessageType("ResourceGather");