Draw subproject contents on screen
This commit is contained in:
parent
cd858baf3a
commit
db39a8cb42
4 changed files with 24 additions and 17 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { mp5 } from '../../main';
|
||||
import { colors } from '../constants/colors';
|
||||
|
||||
export class Contributor {
|
||||
export class Package {
|
||||
x: number;
|
||||
y: number;
|
||||
size: number;
|
||||
|
|
@ -14,9 +14,7 @@ export class Contributor {
|
|||
this.size = size;
|
||||
}
|
||||
|
||||
public place() {}
|
||||
|
||||
private draw() {
|
||||
public place() {
|
||||
mp5.fill(mp5.color(colors.redDark));
|
||||
mp5.ellipse(this.x, this.y, this.size);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue