예제 #1
0
 // Or this one :(
 protected static String Param2String(MugicParam p)
 {
     switch (p)
     {
         case MugicParam.X		: return "x";
         case MugicParam.Y		: return "y";
         case MugicParam.Z		: return "z";
         case MugicParam.Width	: return "width";
         case MugicParam.Height	: return "height";
         case MugicParam.Texture	: return "texture";
         default					: return "ERROR";
     }
 }
예제 #2
0
        // Or this one :(
        protected static String Param2String(MugicParam p)
        {
            switch (p)
            {
            case MugicParam.X: return("x");

            case MugicParam.Y: return("y");

            case MugicParam.Z: return("z");

            case MugicParam.Width: return("width");

            case MugicParam.Height: return("height");

            case MugicParam.Texture: return("texture");

            default: return("ERROR");
            }
        }
예제 #3
0
 public Param(MugicParam par, Object val)
 {
     p = par;
     v = val;
 }
예제 #4
0
 public void Parameter(MugicParam p, Object v)
 {
     parameters.Add(new Param(p, v));
 }
예제 #5
0
 public void Parameter(MugicParam p, Object v)
 {
     parameters.Add(new Param(p, v));
 }
예제 #6
0
 public Param(MugicParam par, Object val)
 {
     p = par;
     v = val;
 }