mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
27 lines
305 B
Plaintext
27 lines
305 B
Plaintext
/* Daniel Shiffman */
|
|
/* http://www.shiffman.net */
|
|
|
|
/* 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;
|
|
}
|
|
|
|
}
|
|
|
|
|