Ajout d'un image button et début de l'abstraction pour la création du deck

master
cldupland 6 years ago
parent 99546c0065
commit 289c0d6a93

@ -5,6 +5,12 @@ Mono-utilisateur:
- Changer les thèmes et les couleurs (en option) - Changer les thèmes et les couleurs (en option)
- jeu classique pas extreme - jeu classique pas extreme
- décaler la création du deck et la distribution des cartes dans un stub - décaler la création du deck et la distribution des cartes dans un stub
- Thème dark
- Jeu solo complet
- Push version sur les stores pour la semaine pro
- Rendre abstract creation deck
- Drag and drop
- Option pour mettre/enlever le pas de 10
The game -> déposé? The game -> déposé?
avant faire fonctionner en local puis on choisira ensemble avant faire fonctionner en local puis on choisira ensemble

@ -1,11 +1,11 @@
#pragma warning disable 1591 #pragma warning disable 1591
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Ce code a été généré par un outil. // This code was generated by a tool.
// Version du runtime :4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // Changes to this file may cause incorrect behavior and will be lost if
// le code est régénéré. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -5710,88 +5710,91 @@ namespace TheGameExtreme.Droid
public const int abc_vector_test = 2131165273; public const int abc_vector_test = 2131165273;
// aapt resource value: 0x7F07005A // aapt resource value: 0x7F07005A
public const int avd_hide_password = 2131165274; public const int Apple = 2131165274;
// aapt resource value: 0x7F07005B // aapt resource value: 0x7F07005B
public const int avd_show_password = 2131165275; public const int avd_hide_password = 2131165275;
// aapt resource value: 0x7F07005C // aapt resource value: 0x7F07005C
public const int design_bottom_navigation_item_background = 2131165276; public const int avd_show_password = 2131165276;
// aapt resource value: 0x7F07005D // aapt resource value: 0x7F07005D
public const int design_fab_background = 2131165277; public const int design_bottom_navigation_item_background = 2131165277;
// aapt resource value: 0x7F07005E // aapt resource value: 0x7F07005E
public const int design_ic_visibility = 2131165278; public const int design_fab_background = 2131165278;
// aapt resource value: 0x7F07005F // aapt resource value: 0x7F07005F
public const int design_ic_visibility_off = 2131165279; public const int design_ic_visibility = 2131165279;
// aapt resource value: 0x7F070060 // aapt resource value: 0x7F070060
public const int design_password_eye = 2131165280; public const int design_ic_visibility_off = 2131165280;
// aapt resource value: 0x7F070061 // aapt resource value: 0x7F070061
public const int design_snackbar_background = 2131165281; public const int design_password_eye = 2131165281;
// aapt resource value: 0x7F070062 // aapt resource value: 0x7F070062
public const int ic_mtrl_chip_checked_black = 2131165282; public const int design_snackbar_background = 2131165282;
// aapt resource value: 0x7F070063 // aapt resource value: 0x7F070063
public const int ic_mtrl_chip_checked_circle = 2131165283; public const int ic_mtrl_chip_checked_black = 2131165283;
// aapt resource value: 0x7F070064 // aapt resource value: 0x7F070064
public const int ic_mtrl_chip_close_circle = 2131165284; public const int ic_mtrl_chip_checked_circle = 2131165284;
// aapt resource value: 0x7F070065 // aapt resource value: 0x7F070065
public const int mtrl_snackbar_background = 2131165285; public const int ic_mtrl_chip_close_circle = 2131165285;
// aapt resource value: 0x7F070066 // aapt resource value: 0x7F070066
public const int mtrl_tabs_default_indicator = 2131165286; public const int mtrl_snackbar_background = 2131165286;
// aapt resource value: 0x7F070067 // aapt resource value: 0x7F070067
public const int navigation_empty_icon = 2131165287; public const int mtrl_tabs_default_indicator = 2131165287;
// aapt resource value: 0x7F070068 // aapt resource value: 0x7F070068
public const int notification_action_background = 2131165288; public const int navigation_empty_icon = 2131165288;
// aapt resource value: 0x7F070069 // aapt resource value: 0x7F070069
public const int notification_bg = 2131165289; public const int notification_action_background = 2131165289;
// aapt resource value: 0x7F07006A // aapt resource value: 0x7F07006A
public const int notification_bg_low = 2131165290; public const int notification_bg = 2131165290;
// aapt resource value: 0x7F07006B // aapt resource value: 0x7F07006B
public const int notification_bg_low_normal = 2131165291; public const int notification_bg_low = 2131165291;
// aapt resource value: 0x7F07006C // aapt resource value: 0x7F07006C
public const int notification_bg_low_pressed = 2131165292; public const int notification_bg_low_normal = 2131165292;
// aapt resource value: 0x7F07006D // aapt resource value: 0x7F07006D
public const int notification_bg_normal = 2131165293; public const int notification_bg_low_pressed = 2131165293;
// aapt resource value: 0x7F07006E // aapt resource value: 0x7F07006E
public const int notification_bg_normal_pressed = 2131165294; public const int notification_bg_normal = 2131165294;
// aapt resource value: 0x7F07006F // aapt resource value: 0x7F07006F
public const int notification_icon_background = 2131165295; public const int notification_bg_normal_pressed = 2131165295;
// aapt resource value: 0x7F070070 // aapt resource value: 0x7F070070
public const int notification_template_icon_bg = 2131165296; public const int notification_icon_background = 2131165296;
// aapt resource value: 0x7F070071 // aapt resource value: 0x7F070071
public const int notification_template_icon_low_bg = 2131165297; public const int notification_template_icon_bg = 2131165297;
// aapt resource value: 0x7F070072 // aapt resource value: 0x7F070072
public const int notification_tile_bg = 2131165298; public const int notification_template_icon_low_bg = 2131165298;
// aapt resource value: 0x7F070073 // aapt resource value: 0x7F070073
public const int notify_panel_notification_icon_bg = 2131165299; public const int notification_tile_bg = 2131165299;
// aapt resource value: 0x7F070074 // aapt resource value: 0x7F070074
public const int tooltip_frame_dark = 2131165300; public const int notify_panel_notification_icon_bg = 2131165300;
// aapt resource value: 0x7F070075 // aapt resource value: 0x7F070075
public const int tooltip_frame_light = 2131165301; public const int tooltip_frame_dark = 2131165301;
// aapt resource value: 0x7F070076
public const int tooltip_frame_light = 2131165302;
static Drawable() static Drawable()
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

@ -83,6 +83,10 @@
<AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" /> <AndroidResource Include="Resources\mipmap-xxxhdpi\icon.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" /> <AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" />
<AndroidResource Include="Resources\drawable\Apple.png">
<SubType></SubType>
<Generator></Generator>
</AndroidResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Resources\drawable\" /> <Folder Include="Resources\drawable\" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

@ -65,6 +65,7 @@
<None Include="Entitlements.plist" /> <None Include="Entitlements.plist" />
<None Include="Info.plist" /> <None Include="Info.plist" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<None Include="Resources\Apple.png" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" /> <InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />

@ -13,6 +13,7 @@
<Folder Include="model\event\" /> <Folder Include="model\event\" />
<Folder Include="viewmodel\" /> <Folder Include="viewmodel\" />
<Folder Include="model\card\" /> <Folder Include="model\card\" />
<Folder Include="model\deck\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="model\effect\StopColm.cs" /> <Compile Remove="model\effect\StopColm.cs" />

@ -0,0 +1,10 @@
using System;
namespace TheGameExtreme.model.deck
{
public class ClassicDeck
{
public ClassicDeck()
{
}
}
}

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using TheGameExtreme.model.card;
namespace TheGameExtreme.model
{
public abstract class CreationDack
{
private List<Card> deck = new List<Card>();
public CreationDack()
{
}
}
}

@ -0,0 +1,10 @@
using System;
namespace TheGameExtreme.model.deck
{
public class ExtremeDeck
{
public ExtremeDeck()
{
}
}
}

@ -6,6 +6,12 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" mc:Ignorable="d"
x:Class="TheGameExtreme.MainPage"> x:Class="TheGameExtreme.MainPage">
<ScrollView
Orientation="Vertical">
<StackLayout>
<StackLayout> <StackLayout>
<StackLayout <StackLayout
Orientation="Vertical" Orientation="Vertical"
@ -72,8 +78,17 @@
x:Name="botPanel" x:Name="botPanel"
Orientation="Vertical" Orientation="Vertical"
Margin="20"> Margin="20">
<Button Text="End Turn" Clicked="endTurn"/> <ImageButton
Source="Apple.png"
Clicked="endTurn"
HorizontalOptions="Center"
VerticalOptions="Center"/>
<Label x:Name="Alert" /> <Label x:Name="Alert" />
</StackLayout> </StackLayout>
</StackLayout> </StackLayout>
</StackLayout>
</ScrollView>
</ContentPage> </ContentPage>
Loading…
Cancel
Save