Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Random Terrain Generation
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
RahulPatel2323




PostPosted: Mon Jan 13, 2014 2:59 pm   Post subject: Random Terrain Generation

So I'm trying to randomly generate terrain for my final assignment in my first year of Java and to make things simpler I put my Generation Code in a method but I keep getting the error, " The variable (insert variable name) amy be accessed her before definitely assigned a value", the problem is if I enter a value the terrain generated is flat, any suggestions?

Thanks in advance,
Rahul



TerrainGen_v4.java
 Description:

Download
 Filename:  TerrainGen_v4.java
 Filesize:  9.55 KB
 Downloaded:  186 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Tue Jan 14, 2014 8:42 pm   Post subject: RE:Random Terrain Generation

Which line is causing the error?
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: