precomputed shade algo, viewport basic render

This commit is contained in:
anton.gurov
2019-10-30 17:56:30 +03:00
parent 4a77323aab
commit 3958951cd5
15 changed files with 924 additions and 26 deletions

11
engine/fov/common.go Normal file
View 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)
}