25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stateMachine.lua 203 B

3 년 전
1234567891011
  1. state = require("levels/"..gameState)
  2. print("levels/"..gameState)
  3. function stateUpdate(dt)
  4. state = require("levels/"..gameState)
  5. state.update(dt)
  6. end
  7. function stateDraw()
  8. state.draw()
  9. end