Created SurfaceManager

This commit is contained in:
Kayne Ruse
2013-04-28 23:04:17 +10:00
parent 79304f24b8
commit 1226fa08ca
8 changed files with 189 additions and 5 deletions
+27
View File
@@ -22,3 +22,30 @@ Player:
Animations:
multiple cells in one animation (x-axis)
multiple animations in one sheet (y-axis)
Image:
SetSurface(surface)
GetSurface()
SetClip
GetClip
//clips
-------------------------
Rememer: Top down programming/K.I.S.S.
KeyDown:
up:
PlayerManager.ShiftMotion(playerIndex, up)
down:
PlayerManager.ShiftMotion(playerIndex, down)
...
end
Receive:
switch(message->type):
player update:
PlayerManager.Update(message)
end