///
class FuckingDescription extends ContentDescription {
public static DESCRIPTIONS = [];
public constructor (name : string) {
super(name, new ContentGroup());
FuckingDescription.DESCRIPTIONS.push(this);
}
public addUnit () {
let unit = new FuckingUnit();
( this.group).addUnit(unit);
return unit;
}
public static getDescription (target : ContentGroup) {
return ContentDescription.pickDescriptions(FuckingDescription.DESCRIPTIONS, target);
}
}