Package pajammin :: Package util :: Module importlevel :: Class Converter
[show private | hide private]
[frames | no frames]

Class Converter


Method Summary
  autoexit(self, x1, y1, x2, y2, dest)
  background(self, opaque, filename)
  bgobject(self, x, y, style)
  bouncyplatform(self, x, y, length, style)
  cloud(self, x, y)
  conditional(self)
  convert(self, filename)
  exitregion(self, x1, y1, x2, y2, dest)
  ground(self, x, y, style)
  label(self, x, y, text)
  labeledregion(self, x1, y1, x2, y2, text, color, x, y)
  messageregion(self, x1, y1, x2, y2, text)
  monster(self, basename, x, y, style)
  movingplatform(self, x, y, x1, y1, x2, y2, length, style, speed)
  pajamapickup(self, x, y, id)
  platform(self, x, y, length, style)
  player(self, x, y)
  solidspace(self, x1, y1, x2, y2)
  teleporter(self, x1, y1, x2, y2, destx, desty)
  viewport_left(self, x)
  viewport_top(self, y)
  wall(self, x, y, length, style)

Class Variable Summary
str COLOR = '(\\(\\d+,\\s*\\d+,\\s*\\d+\\))'
list DISPATCH = [('#.*', None), ('from \\w+ import.*', None),...
str FLOAT = '(-?\\d+(?:.\\d*)?)'
str INT = '(-?\\d+)'
str MONSTER = '(Bird|Turtle|TurtleRider|Farie|Spider)'
str STR = '(\'(?:\'|[^\'])*\'|"(?:"|[^"])*)'

Method Details

autoexit(self, x1, y1, x2, y2, dest)

background(self, opaque, filename)

bgobject(self, x, y, style)

bouncyplatform(self, x, y, length, style)

cloud(self, x, y)

conditional(self)

convert(self, filename)

exitregion(self, x1, y1, x2, y2, dest)

ground(self, x, y, style)

label(self, x, y, text)

labeledregion(self, x1, y1, x2, y2, text, color, x, y)

messageregion(self, x1, y1, x2, y2, text)

monster(self, basename, x, y, style)

movingplatform(self, x, y, x1, y1, x2, y2, length, style, speed)

pajamapickup(self, x, y, id)

platform(self, x, y, length, style)

player(self, x, y)

solidspace(self, x1, y1, x2, y2)

teleporter(self, x1, y1, x2, y2, destx, desty)

viewport_left(self, x)

viewport_top(self, y)

wall(self, x, y, length, style)


Class Variable Details

COLOR

Type:
str
Value:
'(\\(\\d+,\\s*\\d+,\\s*\\d+\\))'                                       

DISPATCH

Type:
list
Value:
[('#.*', None),
 ('from \\w+ import.*', None),
 ('\\s*', None),
 ('self.add\\(GroundSpace\\(.*', None),
 ('self.fixed_viewport = .*', None),
 ('self.add\\(Player\\(x=(-?\\d+), y=(-?\\d+).*', 'player'),
 ('self.add\\(BgObject\\(x=(-?\\d+), y=(-?\\d+), style=(\'(?:\'|[^\'])\
*\'|"(?:"|[^"])*)\\)\\)',
...                                                                    

FLOAT

Type:
str
Value:
'(-?\\d+(?:.\\d*)?)'                                                   

INT

Type:
str
Value:
'(-?\\d+)'                                                             

MONSTER

Type:
str
Value:
'(Bird|Turtle|TurtleRider|Farie|Spider)'                               

STR

Type:
str
Value:
'(\'(?:\'|[^\'])*\'|"(?:"|[^"])*)'