precomputed shade algo, viewport basic render
This commit is contained in:
11
engine/fov/common.go
Normal file
11
engine/fov/common.go
Normal file
@ -0,0 +1,11 @@
|
||||
package fov
|
||||
|
||||
import (
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/gamemap"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/types"
|
||||
)
|
||||
|
||||
type Fov interface {
|
||||
IsInFov(coords types.Coords) bool
|
||||
ComputeFov(level *gamemap.Level, coords types.Coords, radius int)
|
||||
}
|
Reference in New Issue
Block a user