2018-07-04 17:27:22 -05:00
|
|
|
package animation
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
|
|
|
"log"
|
|
|
|
|
2018-07-05 15:25:34 -05:00
|
|
|
"github.com/faiface/pixel/examples/community/ASharedJourney/shared"
|
2018-07-04 17:27:22 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
//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)
|
|
|
|
}
|