Import improvement

Manu turkeyman at gmail.com
Mon Oct 15 08:46:34 PDT 2012


On 15 October 2012 17:29, Simen Kjaeraas <simen.kjaras at gmail.com> wrote:

> On 2012-43-15 14:10, Manu <turkeyman at gmail.com> wrote:
>
>  module stache.states.ingamestate;
>>
>> import fuji: filesystem, render, matrix, material, primitive, system,
>> font;
>> import std: xml, string, conv, random, algorithm;
>> import stache: game, battlecamera;
>> import stache.i: statemachine, entity, collider;
>> import stache.entity: combatant, paimei;
>> import stache.thinkers: localplayer, nullthinker;
>> import stache.sound: soundset, music;
>> import stache.util.eventtypes;
>>
>
> Looks nice. Much better than before, certainly.
>
> Now, i'm wondering, you /do/ know this is possible, right:
>
> import fuji.filesystem, fuji.render, fuji.matrix, fuji.material,
> fuji.primitive, fuji.system, fuji.font;
> import std.xml, std.string, std.conv, std.random, std.algorithm;
> import stache.game, stache.battlecamera;
> import stache.i.statemachine, stache.i.entity, stache.i.collider;
> import stache.entity.combatant, stache.entity.paimei;
> import stache.thinkers.localplayer, stache.thinkers.nullthinker;
> import stache.sound.soundset, stache.sound.music;
> import stache.util.eventtypes;
>

I didn't know that was possible >_<
Cheers for the protip!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121015/589ca1e7/attachment.html>


More information about the Digitalmars-d mailing list