Request to Jay: Code snippet for "class"

Discussion of initiative tool.

Moderators: dorpond, Azhrei

Post Reply
User avatar
drswoboda
Dragon
Posts: 313
Joined: Tue Apr 25, 2006 12:54 pm
Location: Milwaukee, WI

Request to Jay: Code snippet for "class"

Post by drswoboda »

Jay, would you be able to give me a snippet of Java code to get me going on a feature in my game settings file? It would be based around some code similar code you have for "size" and that I have used for SW conditions, weapon and armor selections.

I have a JComboBox with the list of "class" From there I want to populate three properties, reflexDefClassBonus, fortitudeDefClassBonus and willDefClassBonus with set values based on the selection.

I am just not savvy enough with Java right now to get this simple code to work from looking at examples in your existing code. I think all my properties calls are messed up.

I'd really appreciate this bit of help. Thanks.
-David
Last edited by drswoboda on Wed Jan 23, 2008 4:18 pm, edited 1 time in total.

User avatar
jay
RPTools Team
Posts: 1767
Joined: Tue Feb 07, 2006 1:07 am
Location: Austin, Tx

Post by jay »

Sure! I'd be happy to help. Email me rpgame file and the form with any rules I need to follow. I'll try to get to it tomorrow.

Post Reply

Return to “InitiativeTool”