fork download
  1. using Microsoft.Xna.Framework;
  2. using Microsoft.Xna.Framework.Graphics;
  3.  
  4. namespace Sandbox.Tiles
  5. {
  6. abstract public class Title
  7. {
  8. public Rectangle Position;
  9. public Texture2D sprite;
  10. public bool isWalkable;
  11.  
  12. abstract public void draw(SpriteBatch spriteBatch);
  13.  
  14. }
  15. }
  16.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,17): error CS0234: The type or namespace name `Xna' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?
prog.cs(2,17): error CS0234: The type or namespace name `Xna' does not exist in the namespace `Microsoft'. Are you missing an assembly reference?
prog.cs(8,16): error CS0246: The type or namespace name `Rectangle' could not be found. Are you missing `System.Drawing' using directive?
prog.cs(9,16): error CS0246: The type or namespace name `Texture2D' could not be found. Are you missing an assembly reference?
prog.cs(12,35): error CS0246: The type or namespace name `SpriteBatch' could not be found. Are you missing an assembly reference?
Compilation failed: 5 error(s), 0 warnings
stdout
Standard output is empty