I'm starting to learn java after thoroughly learning python. In python, there is a function that saved me often, is it .index () Is there anything similar in java?
Well, in general. Does it make sense to teach java for game dev?
I'm starting to learn java after thoroughly learning python. In python, there is a function that saved me often, is it .index () Is there anything similar in java?
Well, in general. Does it make sense to teach java for game dev?
The List interface has a method called indexOf (Object o) if you need a method to search for the index of an object.
If this list doesn’t contain the element
Java is well suited for developing server-side online games.
In game dev, C ++ is the industry standard, and if among scripting languages, then Lua. Java has a contains () method in the List.
Source: https://ru.stackoverflow.com/questions/881643/
All Articles