Initial commit
This commit is contained in:
commit
b3f3a77fc7
8 changed files with 242 additions and 0 deletions
12
settings.go
Normal file
12
settings.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package main
|
||||
|
||||
import "github.com/ChaoticByte/xels/simulation"
|
||||
|
||||
const CanvasWidth = 200
|
||||
const CanvasHeight = 200
|
||||
const MaxTps = 1000
|
||||
const SimStepsPerUpdate = 10
|
||||
|
||||
func InitGrid(grid *simulation.XelGrid) {
|
||||
grid.GetXel(grid.GetCenterPosition()).Energy = 50000
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue