/* Spieler betritt den Raum */
App.onUserJoined = function(user){
var nick = user.getNick();
var clientType = user.getClientType();
if(clientType == "Android")
{
var htmlFile = new HTMLFile('home_android.html', {});
appContentEdit = AppContent.overlayContent(htmlFile, 300, 110);
if(user.canSendAppContent(appContentEdit)===true)
{
user.sendAppContent(appContentEdit);
}
}
else{
var htmlFile = new HTMLFile('home.html', {});
appContentEdit = AppContent.overlayContent(htmlFile, 170, 245);
if(user.canSendAppContent(appContentEdit)===true)
{
user.sendAppContent(appContentEdit);
}
}
};