public Draw ( |
||
sb | ||
return | void |
public virtual void Draw(SpriteBatch sb)
{
if (selected)
sb.Draw(down, new Rectangle((pos-(center*size)).ToPoint(), size.ToPoint()), Color.White);
else
sb.Draw(up, new Rectangle((pos-(center*size)).ToPoint(), size.ToPoint()), Color.White);
}