public override void Draw(Textures texture, Vector2R position, Color color, Vector2 scalevect, float rotation, float depth) { var v = new SpriteVertex(new Vector3(position.X, position.Y, depth), scalevect * 128, rotation, (int)texture, color); //Mesh.SetData(ref v); pendingVertices.Add(v); }
public override void AddPermanentDraw(Textures texture, Vector2R position, Color color, Vector2 scalevect, float rotation, int life) { var v = new SpriteVertex((Vector3)position, scalevect, rotation, (int)texture, color); pendingVertices.Add(v);//TODO:PERMS }