1
0
Fork 0
fgdata/Aircraft/c172p/Nasal/doors.nas

24 lines
368 B
Text
Raw Normal View History

2008-10-11 23:17:23 +00:00
# =====
# Doors
# =====
Doors = {};
Doors.new = func {
obj = { parents : [Doors],
crew : aircraft.door.new("instrumentation/doors/crew", 8.0),
};
return obj;
};
Doors.crewexport = func {
me.crew.toggle();
}
# ==============
# Initialization
# ==============
# objects must be here, otherwise local to init()
doorsystem = Doors.new();