from Core import from RedhatLayer import RedhatLayer as UserRedhatLaye

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from Core import *
from RedhatLayer import RedhatLayer as UserRedhatLayer
class RedhatLayer(Layer, UserRedhatLayer):
def __init__(self):
Layer.__init__(self)
UserRedhatLayer.__init__(self)
self.parallax = vec2(0, 0)
# 'Redhat' child object
from RedhatPackage import Redhat
obj = self.objects['Redhat'] = Redhat()
if not getattr(obj, "affect_position", False):
obj.position = vec2(512.000000, 384.000000)
self.objRedhat = obj