forked from enricmacias/Glooveth
/
ITomato.py
executable file
·22 lines (19 loc) · 1.01 KB
/
ITomato.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 *
# Tomato Special item
class ITomato (Item):
def __init__(self, x, y, z, scale):
Item.__init__(self, x, y, z)
#-----------------------------------------------------------------------------------------------------------------------------------------------
#---------------------------------------------------VARIABLE DECLARATION------------------------------------------------------------------------
#-----------------------------------------------------------------------------------------------------------------------------------------------
self.scale = scale;
self.energy = 25;
self.powerAbility = 35;
self.type = "VEGETABLE"
self.specialItem = True
self.bitmap = Image()
self.model = self.bitmap.loadModel("./models/Square.egg", "./tex/tomato_s.png", self.posX, self.posY, self.posZ, self.scale)
#end __init__
#end class ITomato