The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Global Array

Posted by Rich on August 22, 2001 at 8:31 AM


I am presently working on a cluedo project with a games
engine, being more into modelling than coding I am having
loads of problems with writing the code. What I need is help creating a Global Array:

The array size needs to be: 0-20
0 - string
1 to 6 - these are the characters
7 to 12 - these are the weapons
13-20 - these are the rooms

I want to set a flag of zero against the objects that are murder
items. These will be set by a random function I have implemented (I will come to putting these to steps together at a later stage).

If anybody can help it wuld be hugely appreciated!




Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us