12 lines
290 B
TypeScript
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);
|
|
}
|
|
} |