Commit Graph

301 Commits

Author SHA1 Message Date
3b5ef952bc added Application.java (main entry point) 2016-05-13 16:55:39 +02:00
Bokros Bálint
a0f47a6e05 Added rotate to key options 2016-05-13 16:08:53 +02:00
Bokros Bálint
c9ec85cec5 Implemented updateDisplay 2016-05-13 16:08:27 +02:00
8c0db35b3c added new test dungeon 2016-05-13 16:03:13 +02:00
ericnerdo
3522c83baa ApplicationFrame now calls gamepanel.DrawVisuals().
Meow. :3
2016-05-13 15:32:32 +02:00
ericnerdo
cc1094512a Replicator fixed.
Fucking Granny...
2016-05-13 15:29:15 +02:00
6a8d73c098 babilon quickfix: added EXIT_ON_CLOSE to ApplicationFrame. 2016-05-13 15:27:54 +02:00
ericnerdo
e18d1a61bf PlayerDrawer.java fixed.
Kitten haaad a bad name :3 :(
2016-05-13 15:22:33 +02:00
ericnerdo
13124567a0 ScaleDrawer now handles boxes properly
MEOOOOW Kitten boxes ^^ :3
2016-05-13 15:19:32 +02:00
ericnerdo
cc73a671f5 GateDrawer now handles open-close properly
Meow.
2016-05-13 15:17:39 +02:00
ericnerdo
e64e18233c PlayerDrawer now handles rotation.
PlayerDrawer is now sync'd with source images.
2016-05-13 15:15:43 +02:00
ericnerdo
f38c4e5bd6 ReplicatorDrawer now handles every Directions.
PlayerBase.draw() is now synchronized.
2016-05-13 15:05:55 +02:00
Hegedus Fanni
6bc50e7810 added png pictures to the root 2016-05-13 15:00:59 +02:00
Bokros Bálint
48859a676c Fixed typo 2016-05-13 14:53:31 +02:00
ericnerdo
969b80c8eb GameSession starting added
Users can now start game by clicking on the mapname.
2016-05-13 14:36:32 +02:00
ericnerdo
cf52cb6cba Game.startGame() modified.
startGame now adds Players and Replicator to Display.
2016-05-13 14:36:32 +02:00
Hegedus Fanni
dce3313c83 added Graphics files psd 2016-05-13 14:33:36 +02:00
024a1e8a9a added Dungeon & Display setters to Game 2016-05-13 14:06:02 +02:00
Bokros Bálint
3cd196df78 Refactored Game following the footprints of Socc
such Singleton, very software techniques, much patterns
2016-05-13 13:58:23 +02:00
ccff798960 implemented event handler for ApplicationFrame's mapselecting 2016-05-13 13:06:48 +02:00
ericnerdo
e25cc615cd Display.java now extends JPanel. paintComponent() overridden. 2016-05-09 17:00:39 +02:00
ericnerdo
d513d5f9fa Drawer.getImage() added. AbstractDrawer.java added to contain image for
XXXDrawers. ImagePanel.java removed.
2016-05-09 16:56:41 +02:00
ericnerdo
8cc0136ee9 Revert "Drawer.java refactored: It is now an abstract class instead of an"
This reverts commit 80b844900c.
2016-05-09 16:56:41 +02:00
muskenum
76dcbc7488 Merge branch 'master' of https://github.com/bokrosbalint/cicaprojekt 2016-05-09 16:44:48 +02:00
muskenum
0f377fadb8 EAST and WEST dirs implemented in PlayerDrawer 2016-05-09 16:36:05 +02:00
ericnerdo
80b844900c Drawer.java refactored: It is now an abstract class instead of an
interface. ImagePanel.java removed.
2016-05-09 16:35:49 +02:00
muskenum
0103489de7 EAST and WEST dirs implemented in PlayerDrawerBase 2016-05-09 16:32:06 +02:00
muskenum
b498942bde EAST and WEST directions added to Replicator image
Eredetit nem basztattam, otthagytam
2016-05-09 16:29:12 +02:00
muskenum
5453a939f4 EAST and WEST directions added to ONeill and Jaffa images
az eredetit nem basztattam, maradjon meg az is
2016-05-09 16:21:07 +02:00
muskenum
a057f73ad2 Merge branch 'master' of https://github.com/bokrosbalint/cicaprojekt 2016-05-09 11:41:12 +02:00
ericnerdo
f241695413 WallDrawer.java fixed. Looks like asking a null reference's name is not a
good idea.
2016-05-07 23:24:51 +02:00
ericnerdo
e63a62893e PlayerBaseDrawer.java added. 2016-05-07 22:27:16 +02:00
ericnerdo
25fd8189d2 PlayerDrawer.java added. 2016-05-07 22:19:55 +02:00
ericnerdo
c854a1ed37 Drawers fixed from Babylonian errors (JComponent also has getX, getY). 2016-05-07 20:21:36 +02:00
ericnerdo
0d31d8c79b Revert "Drawers refactored. Imageloading is now in the Drawers instead of"
This reverts commit 3268268dc2.
2016-05-07 20:12:49 +02:00
ericnerdo
3268268dc2 Drawers refactored. Imageloading is now in the Drawers instead of
inheriting from ImagePanel. ImagePanel.java deleted.
2016-05-07 19:41:57 +02:00
3a9c615b48 fixed a bug, where Gates would not initialize (Dungeon.buildDungeon()) 2016-05-07 19:17:14 +02:00
3d81dc6c65 Dungeon.buildDungeon() now correctly sets Display up 2016-05-07 19:15:19 +02:00
1f02ffc892 added Game reference to ApplicationFrame 2016-05-07 17:47:31 +02:00
Bokros Bálint
1c4488d710 Added keyboard input support for shooting stargates 2016-05-07 17:45:06 +02:00
Bokros Bálint
a7d6c604d8 Implemented Stargate shooting in Game 2016-05-07 17:45:06 +02:00
Bokros Bálint
070d3ef3f4 Added a map to Stargate 2016-05-07 17:45:06 +02:00
ericnerdo
ed45c604a4 PNG files for GUI added. 2016-05-07 17:43:55 +02:00
ericnerdo
316e6e60ea ScaleDrawer.draw() modified. 2016-05-07 17:35:11 +02:00
ericnerdo
46d43ae4ed WallDrawer.draw() fixed. 2016-05-07 17:21:46 +02:00
22553d657f added proof of concept mouse listener to JList in ApplicationFrame 2016-05-07 17:08:35 +02:00
ericnerdo
04afbf83a4 GateDrawer.draw() modified 2016-05-07 17:05:40 +02:00
Bokros Bálint
d61b6af8ed Implemented box operations 2016-05-07 16:51:20 +02:00
Bokros Bálint
f760ded0e4 Added hasBox to Player 2016-05-07 16:51:20 +02:00
ericnerdo
6edcffc586 ScaleDrawer.java added. 2016-05-07 16:47:57 +02:00