Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Re: Variables carried across classes?
Re: Variables carried across classes? [message #1411514] Sat, 23 August 2014 15:17
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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:New Install and Cannot type Asterisk
Next Topic:Error (Cannot run program)
Goto Forum:
  


Current Time: Thu Oct 24 02:50:59 GMT 2019

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

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

Back to the top