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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.