]> git.r.bdr.sh - rbdr/serpentity-lib/blame_incremental - components/angle/index.js
Publish
[rbdr/serpentity-lib] / components / angle / index.js
... / ...
CommitLineData
1import { 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 */
8export default class Angle extends Component {
9 constructor(config) {
10
11 super(config)
12
13 this.angle = this.angle || 0;
14 }
15};