Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

×
×
  • Create New...