v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
22
source/game/scripting/StarEntityLuaBindings.hpp
Normal file
22
source/game/scripting/StarEntityLuaBindings.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef STAR_ENTITY_LUA_BINDINGS_HPP
|
||||
#define STAR_ENTITY_LUA_BINDINGS_HPP
|
||||
|
||||
#include "StarLua.hpp"
|
||||
#include "StarEntity.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
namespace LuaBindings {
|
||||
LuaCallbacks makeEntityCallbacks(Entity const* entity);
|
||||
|
||||
namespace EntityCallbacks {
|
||||
EntityId id(Entity const* entity);
|
||||
LuaTable damageTeam(Entity const* entity, LuaEngine& engine);
|
||||
bool isValidTarget(Entity const* entity, EntityId entityId);
|
||||
Vec2F distanceToEntity(Entity const* entity, EntityId entityId);
|
||||
bool entityInSight(Entity const* entity, EntityId entityId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue