The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000



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 Richard on August 22, 2001 at 8:13 AM


I don't know if anybody can help, I am trying to get my head
round java and I am doing a project usiong a games engine and I need to create some AI for the characters. The game is cluedo
and the array needs to contain:

0-20 fields
0 being a string
1-20 being the objects

The reason I want to implement it
like this is that the I can set any of the
objects with a flag of zero and that makes
it a murder object...

ou can probably tell I am really hacking at this but
I would like to get soemwhere.
Any hints and tips would be gratefully recieved!




Sponsored Links

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