mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
parent
3dd8e76d8b
commit
89c27fc19d
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ namespace TEN::Control::Volumes
|
||||||
{
|
{
|
||||||
using Activator = std::variant<
|
using Activator = std::variant<
|
||||||
std::nullptr_t,
|
std::nullptr_t,
|
||||||
int,
|
short,
|
||||||
MESH_INFO*,
|
MESH_INFO*,
|
||||||
CAMERA_INFO*>;
|
CAMERA_INFO*>;
|
||||||
|
|
||||||
|
|
|
@ -525,9 +525,9 @@ void SetLevelFuncCallback(const TypeOrNil<LevelFunc>& cb, const std::string& cal
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int Moveable::GetIndex() const
|
short Moveable::GetIndex() const
|
||||||
{
|
{
|
||||||
return (int)m_num;
|
return m_num;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Moveable::SetOnHit(const TypeOrNil<LevelFunc>& cb)
|
void Moveable::SetOnHit(const TypeOrNil<LevelFunc>& cb)
|
||||||
|
|
|
@ -136,7 +136,7 @@ public:
|
||||||
friend bool operator ==(const Moveable&, const Moveable&);
|
friend bool operator ==(const Moveable&, const Moveable&);
|
||||||
friend void SetLevelFuncCallback(const TypeOrNil<LevelFunc>& cb, const std::string& callerName, Moveable& mov, std::string& toModify);
|
friend void SetLevelFuncCallback(const TypeOrNil<LevelFunc>& cb, const std::string& callerName, Moveable& mov, std::string& toModify);
|
||||||
|
|
||||||
int GetIndex() const;
|
short GetIndex() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ItemInfo* m_item;
|
ItemInfo* m_item;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue