In the sample code for the library, this is resolved by
- Code: Select all
using Console = Wrapper.Console;
Here comes the question: Is there any equivalent syntax in Cobra, or am I forced to use the fully qualified name?
using Console = Wrapper.Console;
@ref "libtcodWrapper"
use libtcodWrapper
namespace RogueTest
class Game implements IDisposable
var scon as libtcodWrapper.Console?
var con as RootConsole?
use <namespace> [from <library-name>]
use <namespace> [as <alias-name>] [ from <library-name>]
use Wrapper.Console as Console
use Cobra.Lang.CobraCore as CC
...
print CC.version
args = CC.commandLineArgs
Users browsing this forum: No registered users and 29 guests