This repository has been archived on 2022-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
GeometryDash3D/js/Spade.js
Mylloon 8d61067ee2
* add score on top of the game
* reuse already created cones
2022-11-24 21:33:38 +01:00

11 lines
263 B
JavaScript

import { Cone } from "./Cone.js";
export class Spade extends Cone {
constructor(color, level, startPos) {
super(color, level, startPos);
this.startPos = this.data.position.x + startPos;
this.data.position.x = this.startPos;
}
}