]>
git.r.bdr.sh - rbdr/sumo/blob - lib/components/angle.js
65feeab9406dcd091b2a0562bc7d7ec3ae3dcb64
1 import { Component
} from '@serpentity/serpentity';
4 * Component that stores an angle
6 * @extends {external:Serpentity.Component}
7 * @class AngleComponent
8 * @param {object} config a configuration object to extend.
10 export default class AngleComponent
extends Component
{
16 * The properthy that holds the angle
18 * @property {number} angle
20 * @memberof AngleComponent
22 this.angle
= this.angle
|| 0;