Saturday, July 16, 2005

Ship, asteroid objects and test framework


Unit Tests

Today, I spent one hour building the player's ship class. I also set up NUnit, and created my first unit test for the object project. The code to apply thrust to the ship works properly now! That was the part of the game that stumped me before; thus the desire to get that done first.

I have also created an asteroid class, which I think is done. I don't think the asteroid is going to have any additional, non-sprite behavior for v1.

Still on schedule, 3 hours down so far.

No comments: