mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Gisela faces MrCroc automatically.
This commit is contained in:
10
js/Gisela.js
10
js/Gisela.js
@@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user