ignore new binary
Create new bserv binary Herein lie the following ideas: - change package visibility of many things - try to stash the globals into structs - the code is far from correct; it merely compiles
This commit is contained in:
+4
-4
@@ -1,4 +1,4 @@
|
||||
package main
|
||||
package botserv
|
||||
|
||||
import (
|
||||
"log"
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
type deathmatch struct {
|
||||
}
|
||||
|
||||
func (g *deathmatch) setup(gg *game) {
|
||||
func (g *deathmatch) setup(gg *Game) {
|
||||
}
|
||||
|
||||
func (g *deathmatch) gameOver(gg *game) (bool, *GameOver) {
|
||||
func (g *deathmatch) gameOver(gg *Game) (bool, *GameOver) {
|
||||
over := false
|
||||
var stats *GameOver
|
||||
|
||||
@@ -41,5 +41,5 @@ func (g *deathmatch) gameOver(gg *game) (bool, *GameOver) {
|
||||
return over, stats
|
||||
}
|
||||
|
||||
func (g *deathmatch) tick(gg *game, payload *Boardstate) {
|
||||
func (g *deathmatch) tick(gg *Game, payload *Boardstate) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user