Lines of Code | 14 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
2 | |||
3 | const Plugin = require('./Plugin'); |
||
4 | |||
5 | /** |
||
6 | * Represent the leprechaun responsible of doing an action |
||
7 | */ |
||
8 | class ActorPlugin extends Plugin { |
||
9 | act() { |
||
10 | throw new Error("ActorPlugin::act() must be overridden !"); |
||
11 | } |
||
12 | } |
||
13 | |||
14 | module.exports = ActorPlugin; |
||
15 |