DigitalLibrarian / VS2013Projects

DF/CDDA inspired content driven simulator
1 stars 0 forks source link

IAgentClass #37

Open DigitalLibrarian opened 8 years ago

DigitalLibrarian commented 8 years ago

We have weapon and armor classes. We should also have an agent class to statically persist information shared by agents. For instance, all dwarven agents would have an agent class, that shares a race class describing the dwarven race.

Each agent might have a different agent class object, but the properties in this agent class could very well be statically persisted.

These agent classes would be injected and all agents would have a .Class. These classes can be exposed via a factory in order to spawn agents by class.

One implementation of this factory would be the persistence engine #5

DigitalLibrarian commented 8 years ago

Ideally the agent class, plus whatever instance data we have about an agent, would tell us everything we need to know in order to run the ai for that agent.

DigitalLibrarian commented 8 years ago

We have this, I just don't have a Species model.