0ad/binaries/data/mods/public/simulation/components/interfaces/Pack.js
historic_bruno 6fd99e34ce Implements siege packing. Closes #1718.
Adds templates for packed and unpacked siege units - needs stat
tweaking.

This was SVN commit r12904.
2012-12-01 00:34:03 +00:00

10 lines
298 B
JavaScript

Engine.RegisterInterface("Pack");
// Message of the form { "progress": 0.5 },
// sent whenever packing progress is updated.
Engine.RegisterMessageType("PackProgressUpdate");
// Message of the form { "packed": true },
// sent whenever packing finishes.
Engine.RegisterMessageType("PackFinished");