Zomon333 / SadBoat-Engine

I was listening to someone play ukelele and it made me want to program a platformer. This is that.
3 stars 0 forks source link

Create TimedEvent Child RecurringEvent #10

Closed Zomon333 closed 2 years ago

Zomon333 commented 2 years ago

We need a TimedEvent that both returns the value expected at a certain time, but also schedules itself to run again. Further requirements will be posted after TimedEvent's implementation.

Zomon333 commented 2 years ago

I'm sure more will follow throughout development.

Zomon333 commented 2 years ago

I've decided RecurringEvent wold not benefit from a locally scoped variable system. If people want to add their own variables to their events, they can send references in through parameters.

Zomon333 commented 2 years ago

I've decided engine Unit Time is milliseconds and the engine Unit Frequency is 100 HZ. Fight me.

Zomon333 commented 2 years ago

Resolved with commit 013a8497e2087c33f63e8b55798eb78d0bbba2f7.

Awaiting unit tests.