aboutsummaryrefslogtreecommitdiff
path: root/lib/components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/components')
-rw-r--r--lib/components/triple_phase.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/components/triple_phase.js b/lib/components/triple_phase.js
new file mode 100644
index 0000000..66b874b
--- /dev/null
+++ b/lib/components/triple_phase.js
@@ -0,0 +1,12 @@
+import { Component } from '@serpentity/serpentity';
+
+export default class TriplePhase extends Component {
+ constructor(config) {
+
+ super(config);
+
+ this.a = this.a || Math.PI * Math.random();
+ this.b = this.b || Math.PI * Math.random();
+ this.c = this.c || Math.PI * Math.random();
+ }
+};