From 20c8cf7502c0f0ca93a2ec682ad71002b6129d20 Mon Sep 17 00:00:00 2001 From: Justin Butler Date: Fri, 27 May 2005 00:59:45 +0000 Subject: [PATCH] Ships now pass smooth node position as default fields and therefore need getters. --- direct/src/distributed/DistributedSmoothNodeAI.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/direct/src/distributed/DistributedSmoothNodeAI.py b/direct/src/distributed/DistributedSmoothNodeAI.py index e8107d3e7f..8ce8e4b247 100755 --- a/direct/src/distributed/DistributedSmoothNodeAI.py +++ b/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