1234567891011121314151617181920212223242526272829303132 |
- import { MusicSheet } from "./MusicSheet";
- export class InstrumentalGroup {
- constructor(name: string, musicSheet: MusicSheet, parent: InstrumentalGroup) {
- this.name = name;
- this.musicSheet = musicSheet;
- this.parent = parent;
- }
- private name: string;
- private musicSheet: MusicSheet;
- private parent: InstrumentalGroup;
- private instrumentalGroups: InstrumentalGroup[] = [];
- public get InstrumentalGroups(): InstrumentalGroup[] {
- return this.instrumentalGroups;
- }
- public get Parent(): InstrumentalGroup {
- return this.parent;
- }
- public get Name(): string {
- return this.name;
- }
- public set Name(value: string) {
- this.name = value;
- }
- public get GetMusicSheet(): MusicSheet {
- return this.musicSheet;
- }
- }
|