Set up intro message and player in detail scene

This commit is contained in:
Dennis Schoepf 2021-07-22 14:08:50 +02:00
parent 40d4a2364e
commit 18850e9fb8
3 changed files with 34 additions and 1 deletions

View file

@ -1,12 +1,19 @@
import { mp5 } from '../../main';
import { Player } from '../sketchObjects/Player';
import store from '../store';
import { Scenes } from './scenes';
export class DetailScene {
constructor() {}
player: Player;
constructor() {
this.player = new Player();
}
draw() {
mp5.background(100);
this.player.follow();
this.player.move();
}
onSceneClick() {