Is it possible to define a class more than once? (same module)
some thing like this:
file1.as
class Player : PlayerBase
{
int foo;
}
file2.as
class Player : PlayerBase
{
int bar;
void Foobar
{
int foobar = foo + bar;
}
}
i have tried it, but it seems this is not the syntax. (or cant be done at all?)
this is important because, user mods would be much easier to develop if i allow them to define methods&members without forcing them to edit one file.
it also makes getting around the class much harder.
how can i achieve this? (i currently send handles to global functions in other files e.g void Func(Player @pc))
thank you.