comparison HeresyBigBangDone/application.macosx/source/VirtualPlayingArray.pde @ 50:f4c6999ecfe9 tip

added the files on my computer that aren't aiff s> these shoudl be everything for the big bang fair 2011 - heresy, and tim's file's also here
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sat, 08 Oct 2011 22:12:49 +0100
parents
children
comparison
equal deleted inserted replaced
49:0eeda0223db3 50:f4c6999ecfe9
1 class VPArray{ // the virtual playing array for Heresy AI to play with
2
3 VPNote[] VPArrayNotes;
4
5 public VPArray(){
6 VPArrayNotes = new VPNote[16];
7 for (int i = 0; i < 16; i++)
8 VPArrayNotes[i] = new VPNote();
9 }
10 }
11
12 class VPNote{
13
14 boolean played;
15 boolean VPNoteOn;
16 boolean done;
17 int extension;
18 int VPNotePitch;
19 int VPNoteVelocity;
20
21 public VPNote(){
22 VPNoteOn = false;
23 played = true;
24 extension = 0;
25 VPNotePitch = 0;
26 VPNoteVelocity = 0;
27 }
28 }
29
30
31