Click here to Skip to main content
15,881,709 members
Articles / Web Development / HTML

MVC Bricks for ASP.net

Rate me:
Please Sign up or sign in to vote.
4.96/5 (120 votes)
4 May 2011CPOL11 min read 218.2K   6.4K   155  
Learn how to create a simple game using ASP.net MVC, jQuery, State Machine and CSS3 gradients
using System.Collections.Generic;
//using System.Drawing;
using MVCBricks.Core;
using System.Drawing;
//using System.Drawing;

namespace MVCBricks.Core.Shapes
{
    public interface IShape
    {
        bool Rotate90();
        bool Rotate270();
        void Anchor();
        bool MoveLeft();
        bool MoveRight();
        bool MoveDown();

        int X { get; set; }
        int Y { get; set; }
        int Width { get; }
        int Height { get; }
        Color Color { get; set; }
        string ShapeString { get; }
        IBrick[,] ShapeArray { get; }
        IBoard ContainerBoard { get; set;}
        bool Anchored { get; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Instructor / Trainer Alura Cursos Online
Brazil Brazil

Comments and Discussions