SuperSimpleGuy / dytenjin

An engine for making dynamic text-based java games.
GNU General Public License v3.0
1 stars 0 forks source link

Create CulturalCalendar and CulturalCalendarDate #14

Closed SuperSimpleGuy closed 11 years ago

SuperSimpleGuy commented 11 years ago

Allows for different calendaring systems to exist, fixes weird method declarations in current CalendarDate (lookin' at you void advanceOneDay();) and allows for separation between a calendar and a date. Currently these are (wrongly) coupled.

SuperSimpleGuy commented 11 years ago

This has begun, but more code needs to be fleshed out.

SuperSimpleGuy commented 11 years ago

Probably going to scratch the entire "Cultural" and leave the "World" time stuff in place. Programmers will have to choose one of their worlds' many different calendars to act as the engine's calendar. That being said, a lot of progress has been made on accurately representing a date/time, and executing events temporally, and representing stretches of time.

TODO list: WorldCompleteDate WorldCalendar IWorldTimeDuration IWorldMonth IWorldDay CoreWorldTimeHandler

Basically everything. Possibly make the interfaces abstract classes? More than likely.