Skip to main content



      Home
Home » Newcomers » Newcomers » Re: Variables carried across classes?
Re: Variables carried across classes? [message #1411514] Sat, 23 August 2014 11:17
Eclipse UserFriend
On 08/22/2014 12:52 AM, Made Leine wrote:
> I want to move this method into another class where I can transfer
> variables across the two.
>[snip]
> I want to use this method multiple times over my game, but I can't
> access my stamina, skill and luck etc. variables from the class that has
> this method.
>
> Please help!

Your question is a little too broad and, anyway, this is not the forum
you're looking for. I would:

1) trim back the length of the example to just a few lines.
2) consider an additional example of what I've tried to do that fails.
3) post it in an appropriate forum.

May I suggest javaranch.com (pick the general, Java forum there) or
stackoverflow.com.

Cheers
Previous Topic:shift-8 shortcut: cant enter a ( in eclipse
Next Topic:Error (Cannot run program)
Goto Forum:
  


Current Time: Sat Jul 05 00:36:05 EDT 2025

Powered by FUDForum. Page generated in 0.10999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top