]>
Commit | Line | Data |
---|---|---|
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 | }; |