0ad/binaries/data/mods/public/simulation/components/interfaces/BattleDetection.js
quantumstate e3bc8d1c87 Actually add the battle detection code. Refs #1425.
This was SVN commit r13093.
2013-01-20 23:36:08 +00:00

5 lines
180 B
JavaScript

Engine.RegisterInterface("BattleDetection");
// Message of the form { "to": "STATE" }.
// sent whenever the battle state changes
Engine.RegisterMessageType("BattleStateChanged");