S
S
Sergey2017-08-22 22:15:41
Game development
Sergey, 2017-08-22 22:15:41

Is it possible to get the parent class in Luabind?

Question about luabind :

class (my_new_class)  (parent_class)
function my_new_class:_init ()
  ...
end

Is it possible to get its ancestor, i.e. parent_class , by referring to my_new_class ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Legebocker, 2017-08-24
@EnDeRJaY

If the child constructor contains a function that calls the inherited one, then you can

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question