The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

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.

Message:

Global Array

Posted by Richard on August 22, 2001 at 8:13 AM

Hi,

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!

Cheers,

Rich




Replies:

Sponsored Links



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