BodyTetrisWrapper.Program.ShapeCompleted C# (CSharp) Method

ShapeCompleted() public static method

public static ShapeCompleted ( int winner, int scoreP1, int scoreP2 ) : void
winner int
scoreP1 int
scoreP2 int
return void
        public static void ShapeCompleted(int winner, int scoreP1, int scoreP2)
        {
            OscBundle bundle = new OscBundle();
            bundle.AddElement(new OscElement("/pwins", winner));
            //send bundle
            OSCSender.Send(bundle);
            
            logger.AddLogWithTime("Win " + winner + " " + scoreP1 + " " + scoreP2);
        }
        public static void ShapeStatus(int shape1, int shape2)