aaa

Fork of Move by 涼太郎 中村

Revision:
29:4a81b1e457c3
Parent:
28:e4b81ad2e188
Child:
30:0b09a05c67df
--- a/move.cpp	Sat Sep 10 18:04:53 2016 +0000
+++ b/move.cpp	Sun Sep 11 01:54:06 2016 +0000
@@ -112,8 +112,14 @@
 }
 
 
-void turnrad_ccw(float rad)
+void turnrad_ccw(float rad, int team)
 {
+    if(team == 0)
+    {
+        turnrad_cw(rad, 1);
+        return;
+    }
+    
     green = 1;
 
     update();
@@ -135,8 +141,14 @@
     green = 0;
 }
 
-void turnrad_cw(float rad)
+void turnrad_cw(float rad, int team)
 {
+    if(team == 0)
+    {
+        turnrad_ccw(rad, 1)
+        return;
+    }
+    
     green = 1;
 
     update();