forked from mirrors/0ad
3957ebf51f
Accomplish this by adding a Garrisonable component that can be removed from individual units or templates. Differential Revision: https://code.wildfiregames.com/D104 Refs #2160 Patch By: Sandarac This was SVN commit r19631.
12 lines
240 B
JavaScript
12 lines
240 B
JavaScript
function Garrisonable() {}
|
|
|
|
Garrisonable.prototype.Schema = "<empty/>";
|
|
|
|
Garrisonable.prototype.Init = function()
|
|
{
|
|
};
|
|
|
|
Garrisonable.prototype.Serialize = null;
|
|
|
|
Engine.RegisterComponentType(IID_Garrisonable, "Garrisonable", Garrisonable);
|