Skip to content

Instantly share code, notes, and snippets.

@iodiot
iodiot / c++
Created September 8, 2016 11:36
// Create the actions
CCFiniteTimeAction* actionMove =
CCMoveTo::create( (float)actualDuration,
ccp(0 - target->getContentSize().width/2, actualY) );
CCFiniteTimeAction* actionMoveDone =
CCCallFuncN::create( this,
callfuncN_selector(HelloWorld::spriteMoveFinished));
target->runAction( CCSequence::create(actionMove,
actionMoveDone, NULL) );
private bool LoadSnapshot()
{
try
{
var pendingResult = GamesClass.Snapshots.Open(client, SavedGameFileName, true);
var result = pendingResult.AsAsync<ISnapshotsOpenSnapshotResult>().Result;
var retriesCount = 2;
* *
* * *
* *
* * *
* * *
* * * *
* * *
[ 10, '2-3-2-3', '3-4-3' ]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="x-apple-disable-message-reformatting"/>
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">