2 using Microsoft.Xna.Framework;
3 using Microsoft.Xna.Framework.Graphics;
7 partial class WifiComponent : IDrawableComponent
11 get {
return new Vector2(range * 2); }
14 public void Draw(SpriteBatch spriteBatch,
bool editing,
float itemDepth = -1, Color? overrideColor =
null)
19 ShapeExtensions.DrawLine(spriteBatch, pos + Vector2.UnitY * range, pos - Vector2.UnitY * range, Color.Cyan * 0.5f, 2);
20 ShapeExtensions.DrawLine(spriteBatch, pos + Vector2.UnitX * range, pos - Vector2.UnitX * range, Color.Cyan * 0.5f, 2);
21 ShapeExtensions.DrawCircle(spriteBatch, pos, range, 32, Color.Cyan * 0.5f, 3);
virtual Vector2 DrawPosition
void ClientEventRead(IReadMessage msg, float sendingTime)
void Draw(SpriteBatch spriteBatch, bool editing, float itemDepth=-1, Color? overrideColor=null)
static HashSet< MapEntity > SelectedList
int ReadRangedInteger(int min, int max)