Create account / Log in

Does order of prototypes in the Module Editor matter?

Topics related to the main Vassal engine.

Moderators: Tim M, uckelman

Does order of prototypes in the Module Editor matter?

Postby Bigtex01 » June 4th, 2009, 12:00 am

I know the order of traits for a piece matters, that a prototype has to come before functions that use that prototype, for example. But does the order of prototypes in the Module Editor matter? If Prototype B uses Prototype A as one of its traits, does Prototype A have to be listed in the Editor before Prototype B? Or will it work just as well regardless of the order the prototypes are listed in the editor?

I've got a lot of prototypes in a module, and I'm thinking about putting them in alphabetical order just so I can find them easier as I need to work on them in the future. But I don't want to mess up any dependencies by doing so.
User avatar
Bigtex01
 
Posts: 60
Joined: February 1st, 2008, 4:24 am
Location: San Antonio, TX

Does order of prototypes in the Module Editor matter?

Postby Brent Easton » June 4th, 2009, 12:03 am

I know the order of traits for a piece matters, that a prototype has to
come before functions that use that prototype, for example. But does the
order of prototypes in the Module Editor matter? If Prototype B uses
Prototype A as one of its traits, does Prototype A have to be listed in
the Editor before Prototype B? Or will it work just as well regardless of
the order the prototypes are listed in the editor?

I've got a lot of prototypes in a module, and I'm thinking about putting
them in alphabetical order just so I can find them easier as I need to
work on them in the future. But I don't want to mess up any dependencies
by doing so.

No, the order of the Prototypes in the Prototypes Definition component is irrelevent.


_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
Brent Easton
 
Posts: 2880
Joined: December 21st, 2007, 3:06 am
Location: Berry, NSW, Australia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest