A second look at the Actors

While thinking on the features for Guardian Angel, I stumbled into something that I overlooked in RogueDev.

If an Item is an Actor, it must be able to ACT! the same goes for MapCells, they must be able to Act, using an AI object.

I also decided to add Events, which are non spatially located actors that can be added to the world by any Action, and which get their turn to perform an action in a definite time, from where they can choose to make  to be performed in a definite time, from where they choose what action to perform via their AI. They can event decide to spawn another series of events, which would allow periodical events. Time to implement!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s