Set up intro message and player in detail scene
This commit is contained in:
parent
40d4a2364e
commit
18850e9fb8
3 changed files with 34 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Reference in a new issue