summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java
Commit message (Collapse)AuthorAgeFilesLines
* Engine: Allowed LoopUntilCollisionMoveEvent to be cancelledStarla Insigna2009-03-241-1/+1
|
* Engine: Fixed MessageWindow non-closureStarla Insigna2009-03-241-6/+12
| | | | | | | | Added code to MapViewGameState's deinitalize() that cancells the callbacks of all currently running events. Also added code to SpecialEvent's displayMessage() that allows an InterruptedException to kill the message. With the problem with the Title Screen, it turned out that this bug had nothing to do with it, the Title Screen's interval was just too fast. Fixes #18
* Engine: Fixed many potential bugsStarla Insigna2009-03-191-1/+1
| | | | Identified by FindBugs. http://findbugs.sourceforge.net/
* Engine: Added ShakeScreen() special actionStarla Insigna2009-03-171-0/+50
| | | | Also implemented F12 to return to the title screen and added a move frequency variable to events that decides how often they move.
* Engine: Refactored MessageWindowStarla Insigna2009-03-061-3/+17
| | | | MessageWindow is now an Inputable and a Renderable, which allows it to tie in more logically with the rest of the system.
* Engine: Added Event Thread cancellationStarla Insigna2009-02-231-3/+21
|
* Engine: Rewrote Database Transition storageStarla Insigna2009-02-221-3/+3
|
* Engine: Abstracted game state transitionsStarla Insigna2009-02-161-17/+6
| | | | Previously, every game state transition was manually executed with a thread, some exception handling and Display. Now, Display has a method that takes care of it without leaving all of the bulk in random classes.
* Engine: Created Fade transitionsStarla Insigna2009-02-151-4/+20
| | | | | | | | Along with Fade Transitions, other things such as the GameOver and TitleScreen special events have been implemented. Also, an unchecked bug in ObjectLoader has been fixed. The current Fade implementation isn't currently that elegant. There should be a way to make it better, but it'll do for now. Closes #13
* Engine: Added basic FaceSet supportStarla Insigna2009-02-141-3/+13
| | | | Refs #5
* Engine: Fixed up JavaDocStarla Insigna2009-02-121-25/+22
|
* Engine: Wrote Message SystemStarla Insigna2009-02-121-2/+4
| | | | | | | | MessageWindow now has a static method run by SpecialEvent that triggers the message box. This method blocks until the message is complete and renders via Display's new feature. The message box also now features the "next" arrow and the letters gradually appear. Display has also been re-worked to have a list of a new interface called Renderable, which is any object that can be rendered. Such objects (such as MessageWindow) can register to Display, which will render them onto the game frame after the GameState has been rendered. Closes #5.
* Engine: Added some control to MusicStarla Insigna2009-02-101-0/+22
| | | | MapViewGameState now plays music depending on the variables of its Map, which can tell it to either stop the music, keep the previous music playing or start playing a specified music.
* Re-implemented DatabaseStarla Insigna2009-02-091-2/+4
| | | | See #8
* Started MessageWindowStarla Insigna2009-02-081-1/+1
| | | | Currently, MessageWindow splits a string into four lines and displays it when necessary. However, there is currently no way to close the window, it does not animate upon opening and more.
* Added support for other System filesStarla Insigna2009-02-081-0/+0
| | | | | | Because the coordinates and transparent color previously used were tuned for the default System file, the coordinates were changed to be more forgiving and the color is picked from the last pixel of the first row from the graphic. Also, for some reason, every file in source control has been marked as modified, even though most haven't been. Don't know why this happened.
* Started DatabaseStarla Insigna2009-02-071-5/+21
|
* Added Executor to MoveEventThreadStarla Insigna2009-02-031-2/+2
|
* Started working on new TransitionsStarla Insigna2009-02-031-0/+44
| | | | The old transition implementation was old and patchy. The new one is planned to be extensible and to work properly with all transitions. Currently this is not so, but with work it hopefully will be.
* Fixed [Gotez06] InterruptedException violationStarla Insigna2009-02-031-15/+8
|
* Fixed AutomaticViewpoint cache issueStarla Insigna2009-01-301-2/+2
| | | | | | Previously, heroLoc wasn't a defensive copy of HeroEvent.getLocation(), it was HeroEvent.getLocation(). As of such, the condition that they were inequal always failed. However, a typo in the condition (leaving out the exclamation point) led us to believe it was working fine when in fact, AutomaticViewpoint was recalculating the viewpoint every tick instead of everytime the hero moves. Now it only refreshes when the hero moves or is moving. Also cleared up an ambiguous comment in SpecialEvent's PanViewpoint's JavaDoc.
* Implemented viewpoint-related Event actionsStarla Insigna2009-01-301-0/+78
| | | | Implemented FixViewpoint(), PanViewpoint() and ResetViewpoint()
* Created ViewpointStarla Insigna2009-01-301-8/+0
|
* Fixed "walk-thru-me" bugStarla Insigna2009-01-271-5/+9
| | | | Previously, Map's checkForCollision did not properly check collision and would allow an event to initiate movement to a location another event was already moving to (but wasn't at yet).
* Replaced checked exceptions with RuntimeExceptionStarla Insigna2009-01-241-9/+9
|
* Fixed MoveEvent bugStarla Insigna2009-01-191-6/+5
|
* Imported sourcesStarla Insigna2009-01-171-0/+173