title: Angelscript inheritance from C++ class
body: <p>I've been scratching my head over this one for a few days, thought you guys might have a better idea.</p>
  
  <p>Essentially I want to define a standard interface that can be then inherited from in Angelscript classes. For example, say I have a card game like Magic The Gathering, my base class might look like:</p>
  
  <pre><code>class Card
  {
  public:
      virtual void PreDrawPhase() = 0;
      virtual void PostDrawPhase() = 0;
      // etc....
  };
  </code></pre>
  
  <p>Then I want to be able to define new cards and their respective behavior in Angelscript, while being able to handle them in C++ (by handling the interface). How can I achieve this?</p>