ShatteredSword/src/Nodes/Graphics/Point.ts
2021-01-05 11:31:17 -05:00

12 lines
290 B
TypeScript

import Graphic from "../Graphic";
import Vec2 from "../../DataTypes/Vec2";
/** A basic point to be drawn on the screen. */
export default class Point extends Graphic {
constructor(position: Vec2){
super();
this.position = position;
this.size.set(5, 5);
}
}