added attacks and dynamic enemy spawning
Signed-off-by: Pascal Syma <pascal@syma.dev>
This commit is contained in:
@@ -10,8 +10,8 @@ export default class AttackA extends Hitbox {
|
||||
constructor(player) {
|
||||
super(player, 5);
|
||||
|
||||
this.body.setSize(42, 32, true);
|
||||
this.body.setOffset(1, -10);
|
||||
this.body.setSize(42, 20, true);
|
||||
this.body.setOffset(1, 8);
|
||||
}
|
||||
|
||||
start() {
|
||||
|
||||
Reference in New Issue
Block a user