Hi Cory,
>*********** REPLY SEPARATOR ***********
>
>On 25/09/2006 at 3:23 AM cory_c70 wrote:
>Hi all,
>
>So i've made my own custom classes (extending AbstractBuildable) and
>can properly run them as an extension for VASL. It seems clear how I
>can run new custom classes, but I have a few questions:
>
>1) How would i change the draw method of the ASLBoard class using an
>extension as opposed to modifying the actual class in the mod file?
Tricky in an extension.
>2) Is there some way to access board and map objects and other
>things from an extension, and if so how? All I remember having access
>to was the GameModule object.
Map.getAllMaps() gets you access to all maps.
If your object is a child of a map, then the parent map is passed to you inthe
addTo(Buildable parent) routine, so just save it away.
>thanks!
>
>PS. i'm new at this so all help is appreciated!
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/vassalengine/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/