Click here to Skip to main content
15,885,954 members
Articles / Multimedia / DirectX

Game Engine

Rate me:
Please Sign up or sign in to vote.
3.78/5 (6 votes)
20 Nov 2009CPL2 min read 47.4K   1.5K   34  
A game engine first prototype
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MTV3D65;
using IrrKlang; 

namespace gefx
{
   public  class EXUnits
    {
       public enum UnitCommands
       {
           Walk,
           Fire,
           Hide,
           Run,
           Jump,
           Yawl,
           Die,
           Follow,
           Attack,
           Retire




       };

       public void ExecuteCommand(string UnitName, UnitCommands CommandType,ref gefxs UnitCollection)
       {
           switch (CommandType)
           {

               case UnitCommands.Walk :

                   //UnitCollection.XActor.WalkAllSelected(

                   break;



           }


       }


    }
}

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 Common Public License Version 1.0 (CPL)


Written By
Software Developer
Croatia Croatia
Programer

Comments and Discussions