event work + mulling over sprite containers and event notification

This commit is contained in:
2020-07-31 23:39:25 -07:00
parent 55899f26ad
commit 8da810f23a
10 changed files with 149 additions and 75 deletions

View File

@@ -61,8 +61,8 @@ impl Polygon {
}
}
impl Drawable for Polygon {
fn get(&self) -> VertexTypes {
self.verts.clone()
fn get(&self) -> Vec<VertexTypes> {
vec![self.verts.clone()]
}
}