bennodual Posted November 2, 2016 Share Posted November 2, 2016 Hi I want to modelling the following problem: A source1 is creating Entities which are wander in free space. Another source2 is creating other Entities. This entities acts as firefighters and should be able to pick up other entities which are created from source1. When an entity of source1 has a value of a specified property below a minimal-value (the health) it should be picked up by a firefighter-entity which was created from source2. Can someone give me some hints, how I can modeling the firefighter-entity to pickup other entities? - Thank you for your help. Best Regards, Thomas Link to comment Share on other sites More sharing options...
tulach Posted November 2, 2016 Share Posted November 2, 2016 It depends on what you want to model. If the picked up entity is of no use after you can simply destroy it. Or you can create Firefighters as vehicles or workers Because vehicles and workers are based on entities. Link to comment Share on other sites More sharing options...
bennodual Posted November 3, 2016 Author Share Posted November 3, 2016 Hi Petr Thank you for your hint. I have no created a subclass of entity and added a station with a queue to the new class. So it can pickup other objects. Link to comment Share on other sites More sharing options...
Recommended Posts