active-logic / activelogic-cs

Behavior Trees and Case Logic for C#7
GNU Affero General Public License v3.0
106 stars 7 forks source link

Modularize time API #34

Closed eelstork closed 3 years ago

eelstork commented 3 years ago

Currently time related decorators (Wait, Cooldown, Timeout, ...) use Unity engine time or default to System (.NET) time. This is not welcoming to other game engines. Also does not help when a different time representation is used; in a TBS for example, a 'turn' may be the high level time unit, used alongside "game time". Likely the overhead of an indirection here would not be significant.

eelstork commented 3 years ago

Fixed in #80