gmon aliases mon
This commit is contained in:
7
src/gmon/src/battle.rs
Normal file
7
src/gmon/src/battle.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use ::mon::*;
|
||||
|
||||
pub type BattleInstance = mon::battle::Instance;
|
||||
pub type BattleEngine = mon::battle::Engine;
|
||||
pub type BattleTeam = mon::battle::Team;
|
||||
pub type BattleEvent = mon::battle::Event;
|
||||
pub type BattleMove = mon::battle::Move;
|
||||
@@ -3,7 +3,7 @@ use godot::prelude::*;
|
||||
struct MyExtension;
|
||||
|
||||
#[gdextension]
|
||||
unsafe impl ExtensionLibrary for MyExtension {
|
||||
}
|
||||
unsafe impl ExtensionLibrary for MyExtension {}
|
||||
|
||||
pub mod src;
|
||||
pub mod battle;
|
||||
pub mod mon;
|
||||
|
||||
5
src/gmon/src/mon.rs
Normal file
5
src/gmon/src/mon.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use ::mon::*;
|
||||
|
||||
pub type MonInstance = mon::mon::Instance;
|
||||
pub type MonSpecies = mon::mon::Species;
|
||||
pub type MonDex = mon::mon::Dex;
|
||||
@@ -1 +1 @@
|
||||
pub mod src;
|
||||
pub mod mon;
|
||||
|
||||
Reference in New Issue
Block a user