Documentation
¶
Index ¶
Constants ¶
View Source
const ( EyesModifiersNone float32 = iota EyesModifiersJoyful EyesModifiersAngry )
Variables ¶
View Source
var ( AmbientColorsByLevel = [][]float32{ 0: { 1, 1, 1, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 1, 1, 1, }, 1: { 1, 1, 1, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 0.5, 0.5, 0.75, 1, 1, 1, }, } AgentColorsByLevel = [][]float32{ 0: {1, 0.5, 0.25}, 1: {0.5, 0.25, 1}, } AgentEyesByLevel = []float32{ 0: EyesModifiersJoyful, 1: EyesModifiersAngry, } )
View Source
var (
BrushImage = ebiten.NewImage(1, 1)
)
Functions ¶
func DrawRectBorder ¶
func DrawRectBorder(dst *ebiten.Image, x, y, width, height, borderWidth, r, g, b, a float32)
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func NewRenderer() *Renderer
Click to show internal directories.
Click to hide internal directories.