feat: client/server working for adding lines, can undo locally, added a colorpicker and drawing in color is now a thing

This commit is contained in:
Emi Boucly 2025-03-24 16:43:16 +01:00
parent a8b2a0ced6
commit de645a8b1e
11 changed files with 939 additions and 40 deletions

View file

@ -0,0 +1,32 @@
package fr.emiko.net;
import fr.emiko.graphicsElement.Line;
import java.util.Vector;
public class User {
private String username;
private String hashedPassword = "";
private Vector<Line> lines = new Vector<Line>();
private boolean connected;
public User(String username) {
this.username = username;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public Vector<Line> getLines() {
return lines;
}
public void setLines(Vector<Line> lines) {
this.lines = lines;
}
}