Game Development Community

datablock inheritance

by Phil Carlisle · in Torque Game Engine · 01/01/2002 (9:12 am) · 1 replies

Was there a change to datablock inheritance syntax?

it was something like:

datablock dbname ( class ) : inheritedfrom

has it changed? I seem to remember it has..

Phil.

#1
01/01/2002 (10:46 am)
Looking at the grammer file, it now appears to be something like this:

datablock dbname( objectname [: copyfrom]) {}

The datablock "inheritance" is really just copy. There is no permanent relationship between the two datablocks.