Jump to content
  • Advertisement

Yar

Sign in to follow this  
  • entries
    208
  • comments
    383
  • views
    66184

Basic Player Turn and 'Console' within jFrame?

Sign in to follow this  
H_o_p_s

132 views

I redid the turn object, which handles who gets to activate events on the server. This makes it so a 'SSO: cct' progresses the player turn by 1, or resetting if it is over the maximum amount of players. Still working on the sub-turn selection object which is responsible for determining which character on the current player's team has already been moved/activated.

I also found out that hitting the close button on the jFrame wasn't actually doing anything anymore. Before the last remake of the network object I had it so that when you hit the close button it shuts off all of the sockets etc.. but now for somereason the new methods aren't working correctly making an exception to be caught and the window/program not being closed.

And if anybody has any good links on making a 'console'ish program inside the actual frame (within the main content pane of the frame) so that I can just hit ~ and have it allow me to insert commands I would find that usefull...

I have found that I am begining to hate redoing my code... it is not very fun, more like writing proofs for your calculus problems after already solving them...
Sign in to follow this  


2 Comments


Recommended Comments

A nice flexible console system, sounds like a great little project idea. :) Do you code in Java 5 (1.5) or still in 1.4?

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!