Commits

Anonymous committed 3afba9f

initial commit

Comments (0)

Files changed (33)

+parts of code are taken from "Fistful of Beef" by LÖVE-Party (c)
+http://github.com/LOVE-Party/Love-LD18
+and are
+Copyright (c) 2010 LÖVE-Party
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+Astertris Asteroids-tetris
+Needs Love2d
+http://love2d.org/
+
+parts of code are taken from "Fistful of Beef" by LÖVE-Party (c)
+http://github.com/LOVE-Party/Love-LD18
+and are
+Copyright (c) 2010 LÖVE-Party
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

classes/board.lua

+--- board
+require "lib/SECS"
+
+board = class:new()
+
+function board:init(pLevel,pWorld)
+  self.x=200
+  self.y=0
+  self.w=400
+  self.h=500
+  self.border=50
+  self.body_left=love.physics.newBody(pWorld, self.x-(self.border)/2, self.y+self.h/2, 0, 0)
+  self.shape_left=love.physics.newRectangleShape( self.body_left, 0, 0,self.border,self.h,0)
+  self.body_right=love.physics.newBody(pWorld, self.x+self.w+self.border/2, self.y+self.h/2, 0, 0)
+  self.shape_right=love.physics.newRectangleShape( self.body_right, 0, 0 , self.border,self.h , 0)
+  self.body_bot=love.physics.newBody(pWorld, self.x+self.w/2, self.y+self.h+self.border/2, 0, 0)
+  self.shape_bot=love.physics.newRectangleShape( self.body_bot, 0, 0,self.w+self.border*2,self.border,0)
+end
+
+function board:update(dt)
+end
+
+function board:draw()
+  love.graphics.setColor(255, 255, 255, 128)
+  love.graphics.rectangle('line', self.x-self.border,self.y,self.border,self.h)
+  love.graphics.rectangle('line', self.x-self.border,self.y+self.h,self.w+self.border*2,self.border)
+  love.graphics.rectangle('line', self.x+self.w,self.y,self.border,self.h)
+end
+

classes/object.lua

+--- object
+require "lib/SECS"
+
+object = class:new()
+
+function object:init(pLevel,pBoard,pWorld,pInteractive,pPhysics,pNext)
+  self.vertices = {-20,-20,20,-20,0,20}
+  if pNext then
+    self.y=pBoard.y+50
+    self.x=pBoard.x+pBoard.w+150
+  else
+    self.y=pBoard.y
+    self.x=pBoard.x+pBoard.w/2
+  end
+  self.r=0
+  self.finished=false
+  self.physics=true
+  self.interactive=pInteractive
+  local _mass=0
+  if pPhysics then
+  	_mass=50
+  end
+  self.body=love.physics.newBody(pWorld, self.x, self.y, _mass, _mass)
+  self.shape=love.physics.newPolygonShape( self.body, unpack(self.vertices))
+end
+
+function object:update(dt)
+end
+
+function object:draw()
+  love.graphics.setColor(255, 255, 255, 128)
+  love.graphics.polygon('line', self.shape:getPoints())
+end
+

classes/sensor.lua

+--- object
+require "lib/SECS"
+
+sensor = class:new()
+
+function sensor:init(pLevel,pBoard,px,py)
+  self.x=px
+  self.y=py
+  self.activate=0
+end
+
+function sensor:update(dt)
+end
+
+function sensor:draw()
+  love.graphics.setColor(255, 255, 255, 128)
+  love.graphics.circle('line', self.x,self.y,10,4)
+end
+
+function love.conf(t)
+  t.modules.joystick = false -- Enable the joystick module (boolean)
+  t.modules.audio = true -- Enable the audio module (boolean)
+  t.modules.keyboard = true -- Enable the keyboard module (boolean)
+  t.modules.event = true -- Enable the event module (boolean)
+  t.modules.image = true -- Enable the image module (boolean)
+  t.modules.graphics = true -- Enable the graphics module (boolean)
+  t.modules.timer = true -- Enable the timer module (boolean)
+  t.modules.mouse = true -- Enable the mouse module (boolean)
+  t.modules.sound = true -- Enable the sound module (boolean)
+  t.modules.physics = true -- Enable the physics module (boolean)
+  t.console = false -- Attach a console (boolean, Windows only)
+  t.title = "Astertris" -- The title of the window the game is in (string)
+  t.author = "Bartoleo" -- The author of the game (string)
+  t.screen.fullscreen = false -- Enable fullscreen (boolean)
+  t.screen.vsync = true -- Enable vertical sync (boolean)
+  t.screen.fsaa = 0 -- The number of FSAA-buffers (number)
+  t.screen.height = 600 -- The window height (number)
+  t.screen.width = 800 -- The window width (number)
+  t.version = "0.6.2" -- The LÖVE version this game was made for (number)
+end

doc/files/classes/board.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li><strong>classes/board.lua</strong></li>
+	
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>classes/board.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/classes/object.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li><strong>classes/object.lua</strong></li>
+	
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>classes/object.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/classes/sensor.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li><strong>classes/sensor.lua</strong></li>
+	
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>classes/sensor.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/conf.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li><strong>conf.lua</strong></li>
+	
+	<li>
+		<a href="../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>conf.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/lib/SECS.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li><strong>lib/SECS.lua</strong></li>
+	
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>lib/SECS.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/lib/SaveTableToFile.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li><strong>lib/SaveTableToFile.lua</strong></li>
+	
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>lib/SaveTableToFile.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/lib/gamestate.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li><strong>lib/gamestate.lua</strong></li>
+	
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>lib/gamestate.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/main.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li><strong>main.lua</strong></li>
+	
+	<li>
+		<a href="../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>main.lua</code></h1>
+
+
+
+
+
+
+
+<h2>Functions</h2>
+<table class="function_list">
+
+	<tr>
+	<td class="name" nowrap><a href="#love.load">love.load</a>&nbsp;()</td>
+	<td class="summary">love.load initial function loading all </td>
+	</tr>
+
+</table>
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+<h2><a name="functions"></a>Functions</h2>
+<dl class="function">
+
+
+
+<dt><a name="love.load"></a><strong>love.load</strong>&nbsp;()</dt>
+<dd>
+love.load initial function loading all
+
+
+
+
+
+
+
+
+
+</dd>
+
+
+</dl>
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/states/game.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li><strong>states/game.lua</strong></li>
+	
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>states/game.lua</code></h1>
+
+
+
+
+
+
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/states/gameover.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li><strong>states/gameover.lua</strong></li>
+	
+	<li>
+		<a href="../../files/states/intro.html">states/intro.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>states/gameover.lua</code></h1>
+
+
+
+
+
+
+
+<h2>Functions</h2>
+<table class="function_list">
+
+	<tr>
+	<td class="name" nowrap><a href="#state:draw">state:draw</a>&nbsp;(draw)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:enter">state:enter</a>&nbsp;(last, sc, enter)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:keypressed">state:keypressed</a>&nbsp;(key, unicode, keypressed)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:leave">state:leave</a>&nbsp;(leave)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:update">state:update</a>&nbsp;(dt, update)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+</table>
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+<h2><a name="functions"></a>Functions</h2>
+<dl class="function">
+
+
+
+<dt><a name="state:draw"></a><strong>state:draw</strong>&nbsp;(draw)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>draw</em></code>: (LUADOC TODO add draw description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:enter"></a><strong>state:enter</strong>&nbsp;(last, sc, enter)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>last</em></code>: (LUADOC TODO add last description)
+	</li>
+	
+	<li>
+	  <code><em>sc</em></code>: (LUADOC TODO add sc description)
+	</li>
+	
+	<li>
+	  <code><em>enter</em></code>: (LUADOC TODO add enter description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:keypressed"></a><strong>state:keypressed</strong>&nbsp;(key, unicode, keypressed)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>key</em></code>: (LUADOC TODO add key description)
+	</li>
+	
+	<li>
+	  <code><em>unicode</em></code>: (LUADOC TODO add unicode description)
+	</li>
+	
+	<li>
+	  <code><em>keypressed</em></code>: (LUADOC TODO add keypressed description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:leave"></a><strong>state:leave</strong>&nbsp;(leave)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>leave</em></code>: (LUADOC TODO add leave description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:update"></a><strong>state:update</strong>&nbsp;(dt, update)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>dt</em></code>: (LUADOC TODO add dt description)
+	</li>
+	
+	<li>
+	  <code><em>update</em></code>: (LUADOC TODO add update description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+</dl>
+
+
+
+
+
+
+
+</div> <!-- id="content" -->
+
+</div> <!-- id="main" -->
+
+<div id="about">
+	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
+</div> <!-- id="about" -->
+
+</div> <!-- id="container" -->	
+</body>
+</html>

doc/files/states/intro.html

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+    <title>Reference</title>
+    <link rel="stylesheet" href="../../luadoc.css" type="text/css" />
+	<!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
+</head>
+
+<body>
+<div id="container">
+
+<div id="product">
+	<div id="product_logo"></div>
+	<div id="product_name"><big><b></b></big></div>
+	<div id="product_description"></div>
+</div> <!-- id="product" -->
+
+<div id="main">
+
+<div id="navigation">
+
+
+<h1>LuaDoc</h1>
+<ul>
+	
+	<li><a href="../../index.html">Index</a></li>
+	
+</ul>
+
+
+<!-- Module list -->
+
+
+
+<!-- File list -->
+
+<h1>Files</h1>
+<ul>
+
+	<li>
+		<a href="../../files/classes/board.html">classes/board.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/object.html">classes/object.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/classes/sensor.html">classes/sensor.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/conf.html">conf.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SECS.html">lib/SECS.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/SaveTableToFile.html">lib/SaveTableToFile.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/lib/gamestate.html">lib/gamestate.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/main.html">main.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/game.html">states/game.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/states/gameover.html">states/gameover.lua</a>
+	</li>
+
+	<li><strong>states/intro.lua</strong></li>
+	
+	<li>
+		<a href="../../files/states/menu.html">states/menu.lua</a>
+	</li>
+
+	<li>
+		<a href="../../files/utils.html">utils.lua</a>
+	</li>
+
+</ul>
+
+
+
+
+
+
+</div> <!-- id="navigation" -->
+
+<div id="content">
+
+<h1>File <code>states/intro.lua</code></h1>
+
+
+
+
+
+
+
+<h2>Functions</h2>
+<table class="function_list">
+
+	<tr>
+	<td class="name" nowrap><a href="#state:draw">state:draw</a>&nbsp;(draw)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:enter">state:enter</a>&nbsp;(pre, enter)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:keypressed">state:keypressed</a>&nbsp;(key, unicode, keypressed)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:leave">state:leave</a>&nbsp;(leave)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:mousepressed">state:mousepressed</a>&nbsp;(x, y, button, mousepressed)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+	<tr>
+	<td class="name" nowrap><a href="#state:update">state:update</a>&nbsp;(dt, update)</td>
+	<td class="summary">state (LUADOC TODO add resume) state (LUADOC TODO add description) </td>
+	</tr>
+
+</table>
+
+
+
+
+
+
+<br/>
+<br/>
+
+
+
+
+<h2><a name="functions"></a>Functions</h2>
+<dl class="function">
+
+
+
+<dt><a name="state:draw"></a><strong>state:draw</strong>&nbsp;(draw)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>draw</em></code>: (LUADOC TODO add draw description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:enter"></a><strong>state:enter</strong>&nbsp;(pre, enter)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>pre</em></code>: (LUADOC TODO add pre description)
+	</li>
+	
+	<li>
+	  <code><em>enter</em></code>: (LUADOC TODO add enter description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:keypressed"></a><strong>state:keypressed</strong>&nbsp;(key, unicode, keypressed)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>key</em></code>: (LUADOC TODO add key description)
+	</li>
+	
+	<li>
+	  <code><em>unicode</em></code>: (LUADOC TODO add unicode description)
+	</li>
+	
+	<li>
+	  <code><em>keypressed</em></code>: (LUADOC TODO add keypressed description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:leave"></a><strong>state:leave</strong>&nbsp;(leave)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>leave</em></code>: (LUADOC TODO add leave description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:mousepressed"></a><strong>state:mousepressed</strong>&nbsp;(x, y, button, mousepressed)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>x</em></code>: (LUADOC TODO add x description)
+	</li>
+	
+	<li>
+	  <code><em>y</em></code>: (LUADOC TODO add y description)
+	</li>
+	
+	<li>
+	  <code><em>button</em></code>: (LUADOC TODO add button description)
+	</li>
+	
+	<li>
+	  <code><em>mousepressed</em></code>: (LUADOC TODO add mousepressed description)
+	</li>
+	
+</ul>
+
+
+
+
+
+
+<h3>Return value:</h3>
+<ul>(LUADOC TODO add return description)</ul>
+
+
+
+</dd>
+
+
+
+
+<dt><a name="state:update"></a><strong>state:update</strong>&nbsp;(dt, update)</dt>
+<dd>
+state (LUADOC TODO add resume) state (LUADOC TODO add description)
+
+
+<h3>Parameters:</h3>
+<ul>
+	
+	<li>
+	  <code><em>dt</em></code>: (LUADOC TODO add dt description)
+	</li>
+	
+	<li>
+	  <code><em>update</em></code>: (LUADOC TODO add update description)