Files
processing4/java/examples/Books/Nature of Code/chp8_fractals/lsys/Rule.pde
2012-12-11 20:04:34 +00:00

27 lines
292 B
Plaintext

// The Nature of Code
// Daniel Shiffman
// http://natureofcode.com
// A Class to describe an LSystem Rule
class Rule {
char a;
String b;
Rule(char a_, String b_) {
a = a_;
b = b_;
}
char getA() {
return a;
}
String getB() {
return b;
}
}