go-opengl-pixel/examples/community/ASharedJourney/animation/background.go

22 lines
457 B
Go
Raw Normal View History

package animation
import (
"log"
2018-07-05 15:25:34 -05:00
"github.com/faiface/pixel/examples/community/ASharedJourney/shared"
)
//placeholder
type backgroundImage int
func (a *Animator) generateBackground(level int) [][]backgroundImage {
//todo draw background depending on selected level
return make([][]backgroundImage, 3, 3)
}
func (a *Animator) redrawBackGroundTile(pos shared.Position) {
//todo refresh background position
//log.Print("position to redraw ", pos)
}