This commit is contained in:
2019-09-02 12:56:19 -04:00
parent 285a9ede4d
commit e220e23b24
7 changed files with 56 additions and 16 deletions

View File

@ -1,18 +1,18 @@
export const Adjectives = [
'strict',
'Strict',
'poor',
'old',
'hot',
'huge',
'scared',
'large',
'tall',
'antique',
'complete',
'offbeat',
'selective',
'unwilling',
'lively',
'nebulous',
'deranged'
'Old',
'Hot',
'Huge',
'Scared',
'Large',
'Tall',
'Antique',
'Complete',
'Offbeat',
'Selective',
'Unwilling',
'Lively',
'Nebulous',
'Deranged'
];

View File

@ -38,7 +38,7 @@ export class MapComponent implements OnDestroy, OnInit {
menu: ToolbarItem[];
constructor(public physicsService: PhysicsService, private syncService: SyncService, private snackBar: MatSnackBar, private bottomSheet: MatBottomSheet, private dialog: MatDialog, private route: ActivatedRoute) {
this.name = Adjectives[Math.floor(Math.random() * Adjectives.length)] + ' ' + Nouns[Math.floor(Math.random() * Nouns.length)];
this.name = Adjectives[Math.floor(Math.random() * Adjectives.length)] + Nouns[Math.floor(Math.random() * Nouns.length)];
this.menu = [
{name: 'Marker', icon: 'room', toggle: true, onEnabled: this.startMarker, onDisabled: this.unsub},