Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "github.com/jackmott/rpg/game"
- "github.com/jackmott/rpg/ui2d"
- )
- func main() {
- game := game.NewGame(1, "game/maps/level1.map")
- go func() { game.Run() }()
- ui := ui2d.NewUI(game.InputChan, game.LevelChans[0])
- ui.Run()
- }
Add Comment
Please, Sign In to add comment