diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-12 14:43:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-12 14:43:49 +0000 |
commit | c0c2a0ccc335b00983bf69b99b7a44505ed24b47 (patch) | |
tree | aed98bf43957595104810e6ba7d1ab278d2e8089 /src/game/base | |
parent | d07d7e0d0ba022d555f418e9a072d71c190ed225 (diff) |
made core::Entity::entity_shape a private attribute
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/jumppoint.cc | 2 | ||||
-rw-r--r-- | src/game/base/navpoint.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/base/jumppoint.cc b/src/game/base/jumppoint.cc index 5b9a75f..82ed489 100644 --- a/src/game/base/jumppoint.cc +++ b/src/game/base/jumppoint.cc @@ -14,7 +14,7 @@ namespace game JumpPoint::JumpPoint() : core::EntityDynamic() { - entity_shape = core::Entity::Diamond; + set_shape(core::Entity::Diamond); get_color().assign(0.0f, 0.8f, 0.8f, 1.0f); get_color_second().assign(0.6f, 1.0f); set_radius(0.25f); diff --git a/src/game/base/navpoint.cc b/src/game/base/navpoint.cc index 2c76807..f7d6046 100644 --- a/src/game/base/navpoint.cc +++ b/src/game/base/navpoint.cc @@ -14,7 +14,7 @@ const Template *NavPoint::navpoint_template = 0; NavPoint::NavPoint() : core::Entity() { - entity_shape = core::Entity::Diamond; + set_shape(core::Entity::Diamond); get_color().assign(1.0f, 1.0f); get_color_second().assign(0.6f, 1.0f); set_radius(0.25f); |