The idea here is to have a generic parameter initialization function init(args []Object) for each game actor, which then can be used in a generic Object Pool. Pool manages the number of instaces. IActor or the inheriting ILuminousActor can be initialized and used in a pool this way. GameObject sum type needs to contain all init parameters.
-
Notifications
You must be signed in to change notification settings - Fork 0
antono2/generic_pool_v
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Experiments on generic object pool
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published