Browse Source

renaming swapWallBitMask to adjustWallBitMask

Josh Wilson 18 years ago
parent
commit
05f73ce836
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/controls/ShipPilot.py

+ 3 - 1
direct/src/controls/ShipPilot.py

@@ -62,7 +62,9 @@ class ShipPilot(PhysicsWalker):
     def setWallBitMask(self, bitMask):
         self.wallBitmask = bitMask
 
-    def swapWallBitMask(self, oldMask, newMask):
+    def adjustWallBitMask(self, oldMask, newMask):
+        # this will clear any bits set in oldMask and set any bits
+        # set in newMask
         self.wallBitmask = self.wallBitmask &~ oldMask
         self.wallBitmask |= newMask