Added scene system.

This commit is contained in:
Marvin Blum
2016-05-03 22:15:47 +02:00
parent 364d7dd045
commit 74c5bf3505
3 changed files with 110 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import ()
// A system provides logic for actors satisfying required components.
// They are automatically updated on each frame.
// When a system is removed from systems, the Cleanup() method will be called.
// This will also happen on program stop. This can be used to cleanup open resources
// This will also happen on program stop. It can be used to cleanup open resources
// (like GL objects).
type System interface {
Update(float64)