playground header skeleton, playground screen into separated files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package easy_ebitengine
|
||||
|
||||
import "github.com/hajimehoshi/ebiten"
|
||||
|
||||
func (e *Engine) PlaygroundItemsDraw(screen *ebiten.Image) {
|
||||
playground := e.GetPlayground()
|
||||
for _, item := range playground.Items {
|
||||
e.PlaygroundAssetDraw(screen, item.Type.Render, item.Position)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user