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.
> 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 (pick the general, Java forum there) or

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

Current Time: Tue Jun 15 08:05:08 GMT 2021

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

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

Back to the top