Started to implement methods

This commit is contained in:
Devine Lu Linvega
2017-03-22 15:05:55 -07:00
parent e6f7f62d0b
commit 3f17f37458
7 changed files with 52 additions and 35 deletions

View File

@@ -1,6 +1,7 @@
function Unit()
{
this.example = "unknown";
this.name = this.constructor.name;
this.render = function()
{