mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
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…
x
Reference in New Issue
Block a user