Reorganize src folder and add Api and Scene classes
This commit is contained in:
parent
8b50adcd60
commit
a4bb1655d0
6 changed files with 5 additions and 3 deletions
4
main.ts
4
main.ts
|
|
@ -1,6 +1,6 @@
|
|||
import p5 from 'p5';
|
||||
import { colors } from './src/colors';
|
||||
import { SCREEN_WIDTH, SCREEN_HEIGHT } from './src/constants';
|
||||
import { colors } from './src/constants/colors';
|
||||
import { SCREEN_WIDTH, SCREEN_HEIGHT } from './src/constants/screen';
|
||||
import { Player } from './src/Player';
|
||||
|
||||
const sketch = (s) => {
|
||||
|
|
|
|||
Reference in a new issue