mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
28 lines
535 B
Python
28 lines
535 B
Python
'''
|
|
Created on Feb 23, 2013
|
|
|
|
@author: Rob
|
|
'''
|
|
from .Directive import Directive
|
|
from byond import directions
|
|
|
|
class Direction(Directive):
|
|
'''
|
|
Tells the compiler which frames will be used for this direction.
|
|
'''
|
|
|
|
'''
|
|
Which direction?
|
|
'''
|
|
dir=0
|
|
|
|
'''
|
|
List of files.
|
|
'''
|
|
frames=[]
|
|
def __init__(self,name,frames):
|
|
Directive.__init__(self, name, [name,frames])
|
|
_dir = directions.getDirFromName(name)
|
|
if _dir:
|
|
self.dir=_dir
|
|
self.frames=frames |