trotFunky
37e8c8d689
Added Death() method to AbstractCharacter Implemented basic bullet collision detection and effect
25 lines
584 B
C#
25 lines
584 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PlayerCharacter : AbstractCharacter
|
|
{
|
|
public override void Move(Vector2 movementDirection)
|
|
{
|
|
// TODO : Implement limits
|
|
Debug.Log("Direction:");
|
|
Debug.Log(movementDirection);
|
|
_mover.Direction = movementDirection;
|
|
}
|
|
|
|
public override void Shoot()
|
|
{
|
|
// TODO : Implement
|
|
throw new System.NotImplementedException();
|
|
}
|
|
|
|
protected override void Death()
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
}
|