Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

intList

IntList inventory;

void setup() {
  size(200, 200);
  inventory = new IntList();
  inventory.append(84);
  inventory.append(15);
  inventory.append(102);
  println(inventory);
  noLoop();
  fill(0);
  textAlign(CENTER);
}

void draw() {
  int nums = inventory.get(2);
  text(nums, width/2, height/2);
}
Source by processing.org #
 
PREVIOUS NEXT
Tagged: #intList
ADD COMMENT
Topic
Name
6+3 =