11 lines
265 B
Go
11 lines
265 B
Go
package easy_ebitengine
|
|
|
|
import "github.com/hajimehoshi/ebiten"
|
|
|
|
func (e *Engine) PlaygroundNPCsDraw(screen *ebiten.Image) {
|
|
playground := e.GetPlayground()
|
|
for _, npc := range playground.NPCs {
|
|
e.PlaygroundAssetDraw(screen, npc.Type.Render, npc.Position)
|
|
}
|
|
}
|