Inheritance in .tdfs (or is it .fbis?)
Posted: 01 Oct 2006, 21:50
If someone hapened to code a sistem where you could have templates (templates is a much better word than classes but see it as classes in OOP) for weapons, units, etc, would there be any reason for that to not be included?
I'm thinking in having either a set of folders/files with the templates, where, inside, they look exactly like the others:
Or no specific location for them but change the "[]" to "<>":
And use inheritance with either:
Or
I'm thinking in having either a set of folders/files with the templates, where, inside, they look exactly like the others:
Code: Select all
[Something]
{
xxx=qwe;
}
Code: Select all
<Something>
{
xxxx=qwe;
}
Code: Select all
[Something]:<Some>
{}
or
[Something]:[Some]
{}
Code: Select all
[Something]
{
Inherits=Some;
xxxx=qwe;
}