Guest User

Untitled

a guest
Mar 18th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. package main
  2.  
  3. import (
  4. "github.com/jackmott/rpg/game"
  5. "github.com/jackmott/rpg/ui2d"
  6. )
  7.  
  8. func main() {
  9. game := game.NewGame(1, "game/maps/level1.map")
  10.  
  11. go func() { game.Run() }()
  12. ui := ui2d.NewUI(game.InputChan, game.LevelChans[0])
  13. ui.Run()
  14.  
  15. }
Add Comment
Please, Sign In to add comment