]> git.r.bdr.sh - rbdr/serpentity-lib/blob - components/angle/index.js
1bd1db2591a85c82bf059c72da36774d9864e88f
[rbdr/serpentity-lib] / components / angle / index.js
1 import { Component } from '@serpentity/serpentity';
2
3 /*
4 * Angle component, stores the value of an angle
5 * Public members:
6 * -angle <Number> // the angle of the component
7 */
8 export default class Angle extends Component {
9 constructor(config) {
10
11 super(config)
12
13 this.angle = this.angle || 0;
14 }
15 };