Example #1
0
        public override bool checkArgs(params object[] args)
        {
            if (args.Length == 0)
            {
                return(false);
            }
            TASceneConnection connection = sourceActor.currentScene.getMoveTarget((string)args[0]);

            if (connection != null)
            {
                target = connection.getConnectedScene(sourceActor.currentScene);
                return(true);
            }
            return(false);
        }
Example #2
0
 public void connectScene(TAScene other, TASceneConnection connection)
 {
     connections.Add(connection);
     other.connections.Add(connection);
 }