Processing Community Forum
Multiple classes in an (undefined) ArrayList?
Processing
Beginners
quark
February 11, 2019, 8:00pm
4
Try this
aPlayer = (playerClass) sampleList.get(i);
What was the error message?
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Invoking a common method among different object types
Beginners
10
454
October 15, 2019
Using inheritance with ArrayList
Coding Questions
3
2998
October 8, 2018
Returning an object type from an arraylist
Coding Questions
20
2028
March 13, 2020
Separate objects in an ArrayList
Coding Questions
homework
16
704
September 15, 2020
Interface and classes
Coding Questions
4
879
January 11, 2019