• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[vJASS] (ZINC) Is it possible to override methods in sub-structs?

Status
Not open for further replies.
Level 5
Joined
Jan 18, 2012
Messages
92
Hello,

I can't seem to figure out how to override methods in sub-structs, or if it is possible to do while in "ZINC-mode". There doesn't seem to be anything in the manual(or even anything on the super keyword). In vJASS I can put stub in front of a method decleration, but in ZINC it produces an error.

EDIT: I converted the method I wished to override to a private one and now it works, and have used a wrapper method which just calls the one I need for public use. Is this the correct way to do it, or am I still missing something obvious here(in the vJASS OOP tutorial the stub keyword was used in front of a public method)?
 
Last edited:
Status
Not open for further replies.
Top