renaming swapWallBitMask to adjustWallBitMask

This commit is contained in:
Josh Wilson 2007-11-07 02:09:08 +00:00
parent cbc7e936d9
commit 05f73ce836

View File

@ -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