BodyTetrisWrapper.Program.RoundStart C# (CSharp) Method

RoundStart() public static method

public static RoundStart ( int goalShape, int orientation, IntPtr goalShapeStatus ) : void
goalShape int
orientation int
goalShapeStatus System.IntPtr
return void
        public static void RoundStart(int goalShape, int orientation, IntPtr goalShapeStatus) 
        {
            //Console.WriteLine("Sending Round Start");
            OscBundle bundle = new OscBundle();
            bundle.AddElement(new OscElement("/roundstart"));
            //send bundle
            OSCSender.Send(bundle);

            int[] goalShapes = new int[4*6];
            Marshal.Copy(goalShapeStatus, goalShapes, 0, 4*6);

            logger.AddLogWithTime("RoundStart " + numPhotos + " " + goalShape + " " + orientation, goalShapes);
        }