@@ -0,0 +1,610 @@
+package projektkurs.story.trigger;%0A%0Aimport projektkurs.Main;%0Aimport projektkurs.util.MathUtil;%0A%0Apublic class MouseInAreaTrigger extends AbstractTrigger %7B%0A%0A    private final int posX, posY, sizeX, sizeY;%0A%0A    public MouseInAreaTrigger(int posX, int posY, int sizeX, int sizeY) %7B%0A        super();%0A        this.posX = posX;%0A        this.posY = posY;%0A        this.sizeX = sizeX;%0A        this.sizeY = sizeY;%0A    %7D%0A%0A    @Override%0A    public boolean isTriggerActive() %7B%0A        return MathUtil.isInside(posX, posY, sizeX, sizeY, Main.getInputManager().getMouseX(), Main.getInputManager().getMouseY(), 1, 1);%0A    %7D%0A%0A%7D%0A

Add MouseInAreaTrigger