2020-02-11 21:20:11 +01:00
|
|
|
import RetroAnimation from "./retro/RetroAnimation.js";
|
|
|
|
import Movable from "./Movable.js";
|
2020-02-12 21:29:06 +01:00
|
|
|
import Setting from "./Setting.js";
|
2020-02-11 21:20:11 +01:00
|
|
|
|
|
|
|
export default class Gisela extends Movable
|
|
|
|
{
|
|
|
|
constructor() {
|
|
|
|
const SCALE = 2;
|
2020-02-24 21:18:45 +01:00
|
|
|
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)
|
|
|
|
);
|
2024-09-03 23:08:08 +02:00
|
|
|
this.addAnimation(
|
|
|
|
'SLEEP_LEFT',
|
2024-09-04 17:23:02 +02:00
|
|
|
new RetroAnimation(Setting.GRAPHICS_LOCATION + 'giesela-left-sleeping.png', 4, SCALE, 6)
|
2024-09-03 23:08:08 +02:00
|
|
|
);
|
|
|
|
this.addAnimation(
|
|
|
|
'SLEEP_RIGHT',
|
2024-09-04 17:23:02 +02:00
|
|
|
new RetroAnimation(Setting.GRAPHICS_LOCATION + 'giesela-right-sleeping.png', 4, SCALE, 6)
|
2024-09-03 23:08:08 +02:00
|
|
|
);
|
2020-02-11 21:20:11 +01:00
|
|
|
}
|
2024-09-03 23:08:08 +02:00
|
|
|
}
|