made progress on card resizing
This commit is contained in:
@ -15,17 +15,15 @@ class World():
|
||||
self.buildGameWorld()
|
||||
|
||||
def buildGameWorld(self):
|
||||
# TODO: rebuild these to use the BoardField Class and to append them to the __boardFields list
|
||||
# construct elements arround the playerfield
|
||||
# Todo add lifepoint label for player and enemy and make them scriptable
|
||||
pRow1Height = ((2 * self.__cardHeight) + 60)
|
||||
pRow2Height = ((2 * self.__cardHeight) + self.__cardHeight + 70)
|
||||
eRow1Height = 15
|
||||
eRow2Height = (self.__cardHeight + 25)
|
||||
eRow1Height = 105
|
||||
eRow2Height = (self.__cardHeight + 110)
|
||||
pRow1Height = ((2 * self.__cardHeight) + 145)
|
||||
pRow2Height = ((2 * self.__cardHeight) + self.__cardHeight + 150)
|
||||
|
||||
|
||||
eDeckPos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 0)), 15)
|
||||
eGravePos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 0)), (self.__cardHeight + 25))
|
||||
eDeckPos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 0)), eRow1Height)
|
||||
eGravePos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 0)), eRow2Height)
|
||||
pGravePos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 5)), pRow1Height)
|
||||
pDeckPos = pygame.Vector2((self.__cardOffset + ((self.__cardWidth + 10) * 5)), pRow2Height)
|
||||
|
||||
|
Reference in New Issue
Block a user