camelot-unchained
Version:
Camelot Unchained Client Library
24 lines (20 loc) • 563 B
text/typescript
/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import Player from './Player';
import Character from './Character';
class Group {
self: Character;
members: Player[];
constructor(group = <Group>{}) {
group.self = group.self || new Character();
group.members = group.members || <Player[]>[];
}
static create() {
let a = new Group();
return a;
}
}
export default Group;