ソースを参照

Ships now pass smooth node position as default fields and therefore need getters.

Justin Butler 20 年 前
コミット
20c8cf7502
1 ファイル変更15 行追加0 行削除
  1. 15 0
      direct/src/distributed/DistributedSmoothNodeAI.py

+ 15 - 0
direct/src/distributed/DistributedSmoothNodeAI.py

@@ -73,3 +73,18 @@ class DistributedSmoothNodeAI(DistributedNodeAI.DistributedNodeAI,
         self.setR(r)
     def setComponentT(self, t):
         pass
+
+    def getComponentX(self):
+        return self.getX()
+    def getComponentY(self):
+        return self.getY()
+    def getComponentZ(self):
+        return self.getZ()
+    def getComponentH(self):
+        return self.getH()
+    def getComponentP(self):
+        return self.getP()
+    def getComponentR(self):
+        return self.getR()
+    def getComponentT(self):
+        pass