public Player(Texture2D icon, SpriteFont font, Vector2 mapPos, Vector2 screenSize, Vector2 mapSize, Cursor cursor, ArrayList powers) { mySelectedPower = (Power)powers[0]; myIcon = icon; myFont = font; myPowers = powers; myMapPosition = mapPos; myMapSize = mapSize; myCursor = cursor; myScreenSize = screenSize; myVelocity = new Vector2(0, 0); SetupInput(); }
public virtual void PowerCombo(Power power2, MouseState mState) { }
public override void PowerCombo(Power power2, MouseState mState) { //not currently implemented }
/// <summary> /// Set the hotkey to the power. /// </summary> /// <param name="num"></param> public void powerHotkey(int num) { if (myPowers.Count > num) mySelectedPower = (Power)myPowers[num]; else Debug.WriteLine("That power does not exist."); }