Created
September 9, 2014 00:45
-
-
Save selfsame/57c520272db48a62c002 to your computer and use it in GitHub Desktop.
defscript
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
(ns ships.core | |
(:use [unity.core]) | |
(:import | |
[UnityEngine Debug Resources PrimitiveType Application])) | |
(defprotocol IAwake | |
(Awake [this])) | |
(defprotocol IStart | |
(Start [this])) | |
(defscript TreeGen [] | |
IAwake | |
(Awake [this] | |
(require 'safe.core) | |
(UnityEngine.Debug/Log safe.core/a)) | |
IStart | |
(Start [this])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment