This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIPS | |
- before removing entity be sure the components data arrays or maps are cleared | |
example 1 solution: | |
entity.removeAll(); // before using removeAll() check if the components data has arrays or maps | |
SpriteComponent sprite = Mapper.sprite.get(entity); | |
sprite.clear(); // to avoid leaving traces of unneccesary texture traces | |
entity.remove(SpriteComponents.class); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tiled Connection | |
public class TiledConnection extends DefaultConnection<TiledNode> { | |
public TiledConnection(TiledNode fromNode, TiledNode toNode) { | |
super(fromNode, toNode); | |
} | |
} | |
// Tiled Graph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include "..\_AIInterface\ActionMover.h" | |
#include "Mover.h" | |
#include "ModelObject.h" | |
#include "defineText.h" | |
#include "defineItem.h" | |
#include "defineObj.h" | |
#include "defineSound.h" | |
#include "defineSkill.h" | |
#include "lang.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//이 파일 수정 시에 절대 EditPlus를 사용하시지 마십시요. | |
//유니코드 부분에 충돌이 있습니다. | |
//메모장을 사용하여 주십시오. | |
// textServer.inc : Multi language text | |
// textClient.inc : Multi language text | |
// 이야기식 변수 표현 : %s | |
// 수치 변수 표현 : %d | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
************************************ | |
************************************ | |
< Thu 05/04/2017 -- 0:19:40.99 > | |
java version "1.7.0_71" | |
Java(TM) SE Runtime Environment (build 1.7.0_71-b14) | |
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode) | |
DECOMPILE | |
I: Using Apktool 2.2.2 on MuRagezoneold.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var height = 5; | |
var width = 20; | |
for(var h = 0; h< height; h++) { | |
for(var w = 0; w< width; w++) { | |
if(w> 0 && w < width - 1) { | |
if(h> 0 && h < height - 1) { | |
$('#test').append('_'); | |
} else { | |
$('#test').append('*'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var height = 5; | |
var width = 20; | |
for(var h = 0; h< height; h++) { | |
for(var w = 0; w< width; w++) { | |
if(w> 0 && w < width - 1) { | |
if(h> 0 && h < height - 1) { | |
$('#test').append('_'); | |
} else { | |
$('#test').append('*'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Add google play changelog" | |
private_lane :add_google_play_changelog do |options| | |
root_changelog = File.read("../CHANGELOG") | |
log = root_changelog.split("##") | |
version_code = options[:version_code] or 0 | |
version_name = options[:version_name] or "" | |
current_log = log[0] | |
if current_log.nil? | |
puts "Invalid: No root changelog found!" | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Rijndael.cpp | |
#include <cstring> | |
#include <exception> | |
#include "StdAfx.h" | |
#include "Rijndael.h" | |
const int CRijndael::sm_alog[256] = | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object EventBus { | |
@OptIn(ExperimentalCoroutinesApi::class) | |
val bus: BroadcastChannel<Any> = ConflatedBroadcastChannel(2) // receive only most recent data | |
@ExperimentalCoroutinesApi | |
fun send(o: Any) = runBlocking { | |
launch { | |
bus.send(o) | |
} | |
} |
OlderNewer