43 lines
2.4 KiB
Plaintext
43 lines
2.4 KiB
Plaintext
NOTE: The current design is UML documented in the currentDesign.mdl file
|
|
which is there for your viewing pleasure with Rational Rose.
|
|
|
|
1. Physics Engine
|
|
PMD changes once again, however, plenty of new classes to see. Primarily, this
|
|
is the changing of the Particle class. Rather than have a single Particle class,
|
|
multiple classes were created extending Particle. These classes work to have
|
|
different killFactors, that is, how long/what will kill the particles. For example,
|
|
Blood and Water particles have a shorter life span than Dirt Particles. Also,
|
|
this simplified the actual programming as they could simply chain constructor
|
|
calls to PrettySprite and each have their own .png associated with the Particle type.
|
|
|
|
Also, you may notice the Vector class was renamed to PhysicsVector. This is due to
|
|
PMD being stupid. PMD kept saying that Vector should be declared as List. Obviously,
|
|
PMD was looking at the wrong class. This was resolved using said method.
|
|
|
|
2. Networking
|
|
Huge changes here, sort of. Most of the additions to networking were made for the
|
|
Split Screen Multiplayer Game. However, time constraints prevented their full
|
|
implementation. As such, these specific changes will not be addressed as they are
|
|
simply messages sent back and forth that have absolutely no effect other than hogging
|
|
network bandwidth.
|
|
|
|
3. Lemming Jobs
|
|
The lemming jobs were changed slightly. For one, the feature of being able to change
|
|
the class of the lemmings mid-air was removed for some classes, see assignJobToLemming().
|
|
In addition, Bugs with many of the jobs were corrected: particularly that nasty Lemming
|
|
stuck on Blocker Bug. Effects were added to the jobs as well, when digging, dirt is shot
|
|
out and when gliding the jet back releases flames. Pretty Cool, eh?
|
|
|
|
4. Level Stuff
|
|
A Fake Exit was added. This shoots the lemming up into the air if he touches it.
|
|
This is known as FlingTrap.java. Nothing fancy to say here, simply shoots a lemming
|
|
into the air (probably Killing the poor guy) when the lemming touches it. In code, this
|
|
simply means settings the J component of the velocity vector to something fancy.
|
|
|
|
5. JUnit
|
|
JUnit classes were removed for this submission. No point in having them waste space.
|
|
|
|
6. Changed Variables
|
|
There are many variables with changes here and there due to Checkstyle/PMD. These are
|
|
not really considered design changes, just thought it should be noted.
|