summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actPhysicsConstraints.h
blob: a093aaec34d1a57cd43e0a9fa12354c667946d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <container/seadBuffer.h>
#include "KingSystem/Utils/Types.h"

namespace ksys::phys {
class Constraint;
}

namespace ksys::act {

class Actor;

class PhysicsConstraints {
public:
    PhysicsConstraints();
    ~PhysicsConstraints();

    bool initialize(Actor* actor, sead::Heap* heap);
    void finalize();
    void calc();

private:
    sead::Buffer<phys::Constraint*> mConstraints;
    bool _10 = false;
    bool _11 = false;
};
KSYS_CHECK_SIZE_NX150(PhysicsConstraints, 0x18);

}  // namespace ksys::act