Gisela faces MrCroc automatically.

This commit is contained in:
Mal
2020-02-24 21:18:45 +01:00
parent 479a150f9d
commit 43f2290758
2 changed files with 16 additions and 1 deletions

View File

@@ -6,6 +6,14 @@ export default class Gisela extends Movable
{
constructor() {
const SCALE = 2;
super(new RetroAnimation(Setting.GRAPHICS_LOCATION + 'gisela-right.png', 1, SCALE, 1));
super(new RetroAnimation(Setting.GRAPHICS_LOCATION + 'gisela-right.png', 1, SCALE, 0.01));
this.addAnimation(
'LOOK_LEFT',
new RetroAnimation(Setting.GRAPHICS_LOCATION + 'gisela-left.png', 1, SCALE, 0.01)
);
this.addAnimation(
'LOOK_RIGHT',
new RetroAnimation(Setting.GRAPHICS_LOCATION + 'gisela-right.png', 1, SCALE, 0.01)
);
}
}