17 lines
376 B
C#
17 lines
376 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Player : Entity
|
|
{
|
|
void Update()
|
|
{
|
|
if (Input.GetMouseButtonDown(0))
|
|
{
|
|
abilities[0].TryAbility();
|
|
}
|
|
if (Input.GetMouseButtonDown(1)) //this way kinda sucks but i'll fix it when i feel like it
|
|
{
|
|
abilities[1].TryAbility();
|
|
}
|
|
}
|
|
}
|