forked from enricmacias/Glooveth
/
IFish.py
executable file
·22 lines (19 loc) · 1007 Bytes
/
IFish.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Project imports
from Item import *
from Image import *
# Fish Item
class IFish (Item):
def __init__(self, x, y, z, scale):
Item.__init__(self, x, y, z)
#-----------------------------------------------------------------------------------------------------------------------------------------------
#---------------------------------------------------VARIABLE DECLARATION------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------------------------------------
self.scale = scale;
self.energy = 5;
self.powerAbility = 35;
self.type = "FISH"
self.specialItem = False
self.bitmap = Image()
self.model = self.bitmap.loadModel("./models/Square.egg", "./tex/fish.png", self.posX, self.posY, self.posZ, self.scale)
#end __init__
#end class IFish