Previous Entry Share Next Entry
Next Update
2012
unknownj
Well, I've coded combat into it, so that if you try to USE a weapon, it'll do so. You can smite your enemies, but it'll cost ya in terms of health. I'm starting to realise that if the guy has something in his backpack, it's not going to be possible for him to combine that... I think I'm going to need a SWAP method, which runs on an object, and swaps it around with what's in the backpack. Seems the logical option...

Combat was easy. In the end, I just added an addMonster method to the location class, passing the monster's strength in as an argument. No new class needed, thank God... More later :o)

?

Log in

No account? Create an account