renaming swapWallBitMask to adjustWallBitMask
This commit is contained in:
parent
cbc7e936d9
commit
05f73ce836
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue