mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-20 17:14:44 +01:00
Added compile time switch to switch between 2d and 3d mode.
This commit is contained in:
parent
d46e7909f7
commit
8f0815ce66
BIN
config.pyc
BIN
config.pyc
Binary file not shown.
@ -11,7 +11,7 @@
|
||||
#include "core/vector.h"
|
||||
#include "item_instance.h"
|
||||
#include "player_talent.h"
|
||||
#include "scene/3d/physics_body.h"
|
||||
#include "scene/2d/physics_body_2d.h"
|
||||
|
||||
#include "../data/spell.h"
|
||||
#include "stats/stat.h"
|
||||
@ -126,8 +126,8 @@ enum PlayerSendFlags {
|
||||
};
|
||||
|
||||
#ifdef ENTITIES_2D
|
||||
class Entity : public KinematicBody {
|
||||
GDCLASS(Entity, KinematicBody);
|
||||
class Entity : public KinematicBody2D {
|
||||
GDCLASS(Entity, KinematicBody2D);
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user