Example #1
0
 def test_occupiedSomeoneElseNoOneThere(self):
     tile_sprite = TileSprite(manager, imageFilename, parent, x, y, gtk)
     assert_equal(False, tile_sprite.occupied((x+1, y+1)))
Example #2
0
 def test_occupiedBySelf(self):
     tile_sprite = TileSprite(manager, imageFilename, parent, x, y, gtk)
     assert_equal(1, tile_sprite.occupied((x,y)))