swappable characters debug

This commit is contained in:
Cameron Taylor
2021-01-13 22:38:31 -05:00
parent ae38ebc18a
commit 447f638001
13 changed files with 77 additions and 18 deletions

View File

@ -11,9 +11,9 @@ class Boyfriend extends Character
{
public var stunned:Bool = false;
public function new(x:Float, y:Float)
public function new(x:Float, y:Float, ?char:String = 'bf')
{
super(x, y);
super(x, y, char, true);
}
override function update(elapsed:Float)