The Skung Cave commit
This commit is contained in:
10
Sources/Test/Scenes/Scene.swift
Normal file
10
Sources/Test/Scenes/Scene.swift
Normal file
@ -0,0 +1,10 @@
|
||||
import JolkEngine
|
||||
|
||||
|
||||
protocol Scene
|
||||
{
|
||||
mutating func setup(render: inout Renderer)
|
||||
mutating func loadContent(content: inout ContentManager) throws
|
||||
mutating func update(deltaTime: Float)
|
||||
func draw(render: inout Renderer, deltaTime: Float, aspectRatio aspect: Float)
|
||||
}
|
Reference in New Issue
Block a user