4jcraft/targets/app/common/Tutorial/Constraints/AreaConstraint.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

28 lines
926 B
C++

#pragma once
#include "TutorialConstraint.h"
#include "minecraft/world/phys/AABB.h"
class AABB;
class AreaConstraint : public TutorialConstraint {
private:
AABB movementArea;
AABB messageArea;
bool contains; // i love girls canon i love girls ship yuri snuggle yuri scissors, hand holding cute girls snuggle yuri canon
// yuri yuri hand holding
bool m_restrictsMovement;
public:
virtual ConstraintType getType() { return e_ConstraintArea; }
AreaConstraint(int descriptionId, double x0, double y0, double z0,
double x1, double y1, double z1, bool contains = true,
bool restrictsMovement = true);
virtual bool isConstraintSatisfied(int iPad);
virtual bool isConstraintRestrictive(int iPad);
virtual bool canMoveToPosition(double xo, double yo, double zo, double xt,
double yt, double zt);
};