1. Danny Fritz
  2. Image-Breakout

Source

Image-Breakout / lua / Gamestate.lua

--[[----------------------------------------------------------------------------
Copyright (c) 2011
Programmer: Danny Fritz <dannyfritz@gmail.com>
Artist: Josh Brinkley <computercodemonkey@gmx.com>
http://creativecommons.org/licenses/by/3.0/
Licensed under the Creative Commons Attribution 3.0 Unported License.
--]]----------------------------------------------------------------------------

--[[ Gamestate:

	This class controls the current state of the program.

]]

Gamestate = class('Gamestate'):include(Stateful)

require 'lua.Breakout'

--------------------------------------------------------------------------------
function Gamestate:initialize()
	--FIRST RUN
	--STAT FILE
end

--------------------------------------------------------------------------------
function Gamestate:update(dt)
end

--------------------------------------------------------------------------------
function Gamestate:draw()
end

--------------------------------------------------------------------------------
function Gamestate:focus(f)
end

--------------------------------------------------------------------------------
function Gamestate:joystickpressed(joystick, button)
end

--------------------------------------------------------------------------------
function Gamestate:joystickreleased(joystick, button)
end

--------------------------------------------------------------------------------
function Gamestate:keypressed(key, unicode)
end

--------------------------------------------------------------------------------
function Gamestate:keyreleased(key)
end

--------------------------------------------------------------------------------
function Gamestate:mousepressed(x, y, button)
end

--------------------------------------------------------------------------------
function Gamestate:mousereleased(x, y, button)
end

--------------------------------------------------------------------------------
function Gamestate:quit()
end