mirror of
https://github.com/eugene-serb/wavelovers.git
synced 2023-09-09 23:41:16 +03:00
![Eugene Serb](/assets/img/avatar_default.png)
- added condition for link tags. - improve stability. - linted code. - up version. - build.
22 lines
488 B
TypeScript
22 lines
488 B
TypeScript
import IPatternUnit from "@/models/IPatternUnit";
|
|
|
|
class PatternUnit implements IPatternUnit {
|
|
|
|
startDelay: number;
|
|
duration: number;
|
|
weakMagnitude: number;
|
|
strongMagnitude: number;
|
|
|
|
constructor(
|
|
startDelay: number, duration: number,
|
|
weakMagnitude: number, strongMagnitude: number
|
|
) {
|
|
this.startDelay = startDelay;
|
|
this.duration = duration;
|
|
this.weakMagnitude = weakMagnitude;
|
|
this.strongMagnitude = strongMagnitude;
|
|
}
|
|
}
|
|
|
|
export default PatternUnit;
|