// the monster class builds Typomonsters! class Monster { float x, y; int numType; // number of characters in flock int flockSize; // physical size of flock float typeSize; // physical size of characters float avgSpeed; // average speed of characters int emotion = 0; // initial emotion Type[] t; Monster(float xpos, float ypos, int nt, int fs, float ts, float as) { x = xpos; y = ypos; numType = nt; t = new Type[numType]; flockSize = fs; typeSize = ts; avgSpeed = as; for (int i=0; i