Permalink
Browse files

Add bump access to higher level Create

  • Loading branch information...
1 parent f2d876f commit 561c26e73a6fedd1f9725b4e366328fa8a26c9d5 @anair13 committed Feb 11, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 cbc/CBCJVM/src/cbccore/create/Create.java
@@ -517,4 +517,20 @@ public int getAngle() {
if(gc_angle < 0) gc_angle = gc_angle + 360;
return gc_angle;
}
+
+ public boolean getLBump(float lag) {
+ return lowCreate.get_create_lbump(lag) == 1;
+ }
+
+ public boolean getRBump(float lag) {
+ return lowCreate.get_create_rbump(lag) == 1;
+ }
+
+ public boolean getLBump() {
+ return lowCreate.get_create_lbump(this.lag) == 1;
+ }
+
+ public boolean getRBump() {
+ return lowCreate.get_create_rbump(this.lag) == 1;
+ }
}

2 comments on commit 561c26e

bgw replied Feb 12, 2012

This looks awesome! I don't have a CBC to test it on, but if you want, I can pull this upstream to CBCJVM/CBCJVM.

Owner

anair13 replied Feb 12, 2012

Yup, that would be great; I was waiting on the request until I tested it, but those lines do work by themselves, so I'm sure its safe.

Please sign in to comment.