Skip to content

Instantly share code, notes, and snippets.

View serjek's full-sized avatar
💭
ᕕ( ᐛ )ᕗ

serjek

💭
ᕕ( ᐛ )ᕗ
View GitHub Profile
@serjek
serjek / DealService.hx
Created August 11, 2021 17:32
SPP deal service
package ru.smartpref.modules.game;
import ru.smartpref.core.service.ISyncService;
import ru.smartpref.core.object.Card;
import ru.smartpref.core.object.Player;
class DealService implements ISyncService {
public function new() {}
package;
import haxe.macro.*;
using haxe.macro.ExprTools;
class MainTest {
static function main() {
var data1 = {hello:'world'};
var data2 = {foo:'bar', hello: null};
var data3:Dynamic = null;
var m = getVal(data1.hello);
package;
import haxe.macro.*;
using haxe.macro.Tools;
using StringTools;
using Lambda;
class TestMinimal {
static function main() {
var m = new N(); //new M(); - this gives compilation error indicating that coconut magic was not applied
package feathers.controls
{
import flash.geom.Point;
import flash.utils.getTimer;
import feathers.controls.StackScreenNavigator;
import feathers.controls.supportClasses.IScreenNavigatorItem;
import feathers.events.ExclusiveTouch;
import feathers.events.FeathersEventType;
import feathers.system.DeviceCapabilities;