TShock/TShockAPI/TSPlayer.cs
2011-06-05 23:36:41 -06:00

31 lines
No EOL
626 B
C#

using System.Collections.Generic;
using Terraria;
namespace TShockAPI
{
public class TSPlayer
{
public uint tileThreshold;
public Dictionary<TShock.Position, Tile> tilesDestroyed = new Dictionary<TShock.Position, Tile>();
public bool syncHP;
public bool syncMP;
public Group group;
private int player;
public TSPlayer(int ply)
{
player = ply;
}
public Player GetPlayer()
{
return Main.player[player];
}
public int GetPlayerID()
{
return player;
}
}
}