1
import java.util.*; //We want to have a list of actions that the player can take in this room, so we do this import statement to use the List and
ArrayList classes
This class is a basic representation of a room in my text-based RPG, The Java Secret. Again, this will change as the game is developed.
A lot of this code might seem confusing if you're a new Java developer, but I'll be explaining it all in due time. If you'd like to start learning, I'm writing lessons and tutorials on Java game development here: https://itch.io/jam/summer-learn-java-jam-month-1/community
If you want to learn more about the game, visit http://bit.ly/2K3mYoZ
A lot of this code might seem confusing if you're a new Java developer, but I'll be explaining it all in due time. If you'd like to start learning, I'm writing lessons and tutorials on Java game development here: https://itch.io/jam/summer-learn-java-jam-month-1/community
If you want to learn more about the game, visit http://bit.ly/2K3mYoZ
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.