Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 17 years ago

Last modified 17 years ago

#202 new defect

WorldEntities entering the World

Reported by: patrick Owned by: patrick
Priority: blocker Milestone: Old Orxonox tickets orx-v0
Component: GeneralFramework Version:
Keywords: Cc:
Referenced By: References:

Description

Introduction

When WorldEntities enter the world, they have no way of reacting to this event. Many objects need to init variables as soon as they enter the orxonox world. This is especially critical since the pnode tree is (sometimes) not initialized before a WorldEntity enters the world.

Goal

Introduce a new virtual function enter/leave which is called as soon as a WorldEntity enters/leaves the world. The GameWorld should call these functions since it is in control of state changes.

Implementation

The WorldEntity, GameWorld or ObjectManager need to be adapted in order to support this functionality. The GameWorld/ObjectManager need to keep track of objects entering/leaving the world and need to call the functions accordingly.

Change History (1)

comment:1 Changed 17 years ago by bknecht

  • Milestone changed from CleanUp to Old Orxonox tickets

Milestone CleanUp deleted

Note: See TracTickets for help on using tickets.