added map loading and one-way collision (needs to move to tiled attribute tho) Signed-off-by: Pascal Syma <pascal@syma.dev>
13 lines
275 B
JavaScript
13 lines
275 B
JavaScript
/*
|
|
* Copyright (c) 2020. Pascal Syma <pascal@syma.dev>
|
|
* All rights reserved.
|
|
*/
|
|
|
|
import Entity from "../Entity";
|
|
|
|
export default class Enemy extends Entity {
|
|
|
|
constructor(scene, spawnPoint, texture) {
|
|
super(scene, spawnPoint.x, spawnPoint.y, texture);
|
|
}
|
|
} |