Skip to content

Commit

Permalink
Makes new TechnoClassExtension functions virtual.
Browse files Browse the repository at this point in the history
- Response_Capture
- Response_Enter
- Response_Deploy
- Response_Harvest
- Can_Passive_Acquire
  • Loading branch information
CCHyper committed Mar 7, 2023
1 parent ad54dba commit 2a4e346
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/extensions/techno/technoext.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,11 @@ class TechnoClassExtension : public ObjectClassExtension
virtual TechnoClass *This() const override { return reinterpret_cast<TechnoClass *>(ObjectClassExtension::This()); }
virtual const TechnoClass *This_Const() const override { return reinterpret_cast<const TechnoClass *>(ObjectClassExtension::This_Const()); }

/**
* Extended class functions.
*/
void Response_Capture();
void Response_Enter();
void Response_Deploy();
void Response_Harvest();
bool Can_Passive_Acquire() const;
virtual void Response_Capture();
virtual void Response_Enter();
virtual void Response_Deploy();
virtual void Response_Harvest();
virtual bool Can_Passive_Acquire() const;

private:
const TechnoTypeClass *Techno_Type_Class() const;
Expand Down

0 comments on commit 2a4e346

Please sign in to comment.