]>
git.r.bdr.sh - rbdr/serpentity-lib/blob - components/weight/index.js
1 import { Component
} from '@serpentity/serpentity';
4 * Weight component, stores the magnitude of weight
6 * -weight <Number> // magnitude of weight
8 export default class Weight
extends Component
{
13 this.weight
= this.weight
|| 0;